Hi,
I am trying to use javascript on mouseout to allow a dropdown menu to stay open for a second. I am using a layer for the dropdown menu. I am looking for a function that can do this.
Here is a function that i tried, but could not get to work correctly:
function delayHideMenu(Layer1) { settimeout("hideMenu(Layer1)",1000); }
Here is the html code for the drop down menu:
<img src="images/nav_practices_off.jpg" alt="" name="nav_practices_off" width="84" height="27" border="0" id="nav_practices_off" onmouseover="MM_swapImage('nav_practices_off','','images/nav_practices_on.jpg',1);MM_showHideLayers('Layer1','','show')" onmouseout="MM_swapImgRestore();MM_showHideLayers('Layer1','','hide')" /></a></td>
Thanks for any help,
I am trying to use javascript on mouseout to allow a dropdown menu to stay open for a second. I am using a layer for the dropdown menu. I am looking for a function that can do this.
Here is a function that i tried, but could not get to work correctly:
function delayHideMenu(Layer1) { settimeout("hideMenu(Layer1)",1000); }
Here is the html code for the drop down menu:
<img src="images/nav_practices_off.jpg" alt="" name="nav_practices_off" width="84" height="27" border="0" id="nav_practices_off" onmouseover="MM_swapImage('nav_practices_off','','images/nav_practices_on.jpg',1);MM_showHideLayers('Layer1','','show')" onmouseout="MM_swapImgRestore();MM_showHideLayers('Layer1','','hide')" /></a></td>
Thanks for any help,