• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

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.
0
andrewdalgleish
Asked:
andrewdalgleish
  • 2
  • 2
1 Solution
 
GustoCommented:
rather than frame, try iframe with z-index=-5.  seemed to work fine for me.
0
 
andrewdalgleishAuthor Commented:
nice one, i had thought of using iframes, but didn't know about the z-index variable, cheers a bunch.

andrew dalgleish
0
 
DennisParaguayCommented:
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
0
 
GustoCommented:
Glad I could help.  I think that took me about a week to figure out when I first ran into it.
0
 
andrewdalgleishAuthor Commented:
sorry dennis, gusto was right.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now