Scrolling menu problems.

Posted on 2003-03-06
Medium Priority
Last Modified: 2010-04-09
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.
Question by:andrewdalgleish
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Accepted Solution

Gusto earned 300 total points
ID: 8083860
rather than frame, try iframe with z-index=-5.  seemed to work fine for me.

Author Comment

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

andrew dalgleish

Expert Comment

ID: 8084125
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;">


Expert Comment

ID: 8084129
Glad I could help.  I think that took me about a week to figure out when I first ran into it.

Author Comment

ID: 8084227
sorry dennis, gusto was right.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question