Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21327

    Hey,

    I have been trying to add this to sidebar.php

    <a href="javascript:void();" onclick="document.getElementById('underlay').style.display='block'; document.getElementById('lightbox').style.display='block';">Click Here</a>
    <div id="underlay">
    </div>
    <div id="lightbox">
    <a href="javascript:void();" onclick="document.getElementById('underlay').style.display='none'; document.getElementById('lightbox').style.display='none';">Close</a>
    </div>

    or this

    <a class="lbp-inline-link-1 cboxElement" href="#" title="Select a language">CHANGE LANGUAGE</a>
    <div style="display: none;">
    <div id="lbp-inline-href-1" style="padding: 10px; background: #fff;">
    <div id="opac"> <a href="#"></a></div>
    </div>
    </div>

    without any success (it makes my sidebar and bg dissapear completely). I need this under the main navigation , can you help?

    I appreciate it.

    Regards

    #111386

    Hey, okie I figured it out, my bad. :)

    I have another question now I want my sidebar to be of 100% height is that possible? I ve tried using the normal height:100%; but for some reason it doesn;t show instead it cuts the sidebar in half.

    Thanks again!

    #111387

    Hi stsouk,

    Unfortunately 100% height just doesn’t work well. Its one of those why-does-this-not-ever-work values that requires various css/javascript hacks depending on the implementation.

    Try googleing 100% css height fix, or force 100% height for div.

    Regards,

    Devin

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘sidebar’ is closed to new replies.