File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes JavaScript Menu, Submenu and Framesets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JavaScript Menu, Submenu and Framesets" Watch "JavaScript Menu, Submenu and Framesets" New topic

JavaScript Menu, Submenu and Framesets

Daniel Gee
Ranch Hand

Joined: Aug 29, 2003
Posts: 202
I followed the suggestion provided by Eric and used the JavaScript provided at the URL

to generate menu and its sub-menu. It is a cool web site. I am able to display my menu at different levels in the browser.

However, I stumbled on something:

I use this JavaScript in the left frame (on web page developer's left hand side and web page developer is facing the screen) to produce vertical menu in my web page.The left frame occupies about 1/6 of the width of my desktop. The other 5/6 of the desktop displays the main content of the web page. That is to say, I have frames in columns.

When I roll the mouse over the menu in the left frame, the majority view of the menu at the sub-level is blocked by the main content frame of the web page. I only see a small portion of the sub-menu. I think it is because I did not set the parameters quite right. What is the trick to have the entire view of the sub-level menu in the web page?
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
There is a forum for scripts on dynamic drive. A lot of people know the scripts inside out there.

The dynamic drive forum is a sub forum in the JavaScript one.

I agree. Here's the link:
subject: JavaScript Menu, Submenu and Framesets
It's not a secret anymore!