Hi all,
I'm working on a simple script that is intended to provided dynamic dropdown menus in IE5.
Currently, I have a menu bar at the top of the screen and when the mouse moves over an item, a layered menu appears below it, when the mouse moves off, the menu disappears.
Trouble is, I want people to be able to select an item from the layered menu, but currently it disappears as soon as the mouse moves away from the main menu item.
Microsofts site has something similar to what I want to acheive, but I con't follow their code.
What I have at the moment is something like:
<a href="menu1.html"
onmouseover="document.all.menu1.style.visibility='visible'; return true"
onmouseout="document.all.linksmenu.style.visibility='hidden'; return true">
<DIV ID="menu1"
STYLE="visibility:hidden;">
<a href1.html">1</a><br>
<a href2.html">2</a><br>
<a href3.html">3</a><br>
</div>
Any thoughts/advice?
I'm working on a simple script that is intended to provided dynamic dropdown menus in IE5.
Currently, I have a menu bar at the top of the screen and when the mouse moves over an item, a layered menu appears below it, when the mouse moves off, the menu disappears.
Trouble is, I want people to be able to select an item from the layered menu, but currently it disappears as soon as the mouse moves away from the main menu item.
Microsofts site has something similar to what I want to acheive, but I con't follow their code.
What I have at the moment is something like:
<a href="menu1.html"
onmouseover="document.all.menu1.style.visibility='visible'; return true"
onmouseout="document.all.linksmenu.style.visibility='hidden'; return true">
<DIV ID="menu1"
STYLE="visibility:hidden;">
<a href1.html">1</a><br>
<a href2.html">2</a><br>
<a href3.html">3</a><br>
</div>
Any thoughts/advice?