View Full Version : JavaScript Image Sub-Menu

06-02-2006, 06:21 PM

I'm working on the navigation for my site. Here's what I'm trying to do:

1. Have my navigation on one line (5 images right next to each other)
2. When a user hovers their mouse over an image that should have a sub-menu, the sub-menu image (.jpg) will be displayed beneath it. I wonder if it is best to display this as one image and use an image map, or have a series of images like the main navigation.

The main problem I'm having here is that on-mouse out the sub-menu dissapears, not allowing the user enough time to hover over the sub-menu beneath it. Does anyone have any working code that could work for this?

06-02-2006, 07:01 PM

o yes you can give the divs a background image or put an image in the div

06-02-2006, 09:06 PM

Sorry, but that doesn't work for what I'm doing :( I just need a simple "display sub-menu image" under correct nav image JavaScript. Can anyone help please?