I have a drop down menu in a top frame using divs and layers. I need the menus to stay above the bottom frame. At the mo they hide behind the bottom frame. Please Help.
But this is no good, because if the visitor had scrolled down to the bottom of your main frame they would'nt see the drop down. So I added "window.scrollTo" - scrolls back up to the top, where the dropdown is.
So in the top frame...
<script language="javascript">
function show(menu) {
frame = "parent.frames[1].";
eval(frame + menu + ".style.visibility='visible';"
parent.frames[1].window.scrollTo(0,0); //Scrolls back up
}
function hide(menu) {
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.