Link to home
Start Free TrialLog in
Avatar of andrewdalgleish
andrewdalgleish

asked on

Scrolling menu problems.

I have written a scrolling menu in JavaScript, and it works perfectly well on it's own.  
I want this menu to appear at the top of all the pages in my site, and the area below the menu to display a different html page displaying whatever information the client has selected from the menu.
When i put it in a frame (at the top of the page) the menu dissapears under the frame below, making it unusable.
I have looked into using the likes of php, jsp, asp etc etc but do not want to use scripts unless it is absolutely necessary.  I would like to use only html.  I have also looked into using XML and XUI, but this would involve changing my entire menu to the format accepted by XUI, which is very annoying.

Does anyone have any ideas?  This has been annoying me for a few days now.

thanks in advance for any help given,

Andrew Dalgleish.
ASKER CERTIFIED SOLUTION
Avatar of Gusto
Gusto

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andrewdalgleish
andrewdalgleish

ASKER

nice one, i had thought of using iframes, but didn't know about the z-index variable, cheers a bunch.

andrew dalgleish
Iframes always cause problems, especially when the z-index is negative.

The question is: why does the menu disappear below the main frame? This doesn´t happen in my browser (MSIE6), so I won´t know if my suggestion will help you!

Just try to put this around all the code in the body of the top page which contains the select box:

************************************
<DIV STYLE="z-index: 999;">
...
</DIV>
************************************


-Dennis
Glad I could help.  I think that took me about a week to figure out when I first ran into it.
sorry dennis, gusto was right.