- Impact
- 1
hi.
i'm not an advanced web guy, and i know very little about coding.
but anyways...
i want to put a slight delay on a pull-down in dreamweaver using javascript. i've been able to do so successfully by using:
onMouseOver="MM_showHideLayers('blah','','blah','','blah')" in the body and
function hideIt() {
timer=setTimeout("MM_showHideLayers('blah','','blah','','blah')",1000);
}
in the head
the problem is that if i (or a visitor) scrolls past the menu bar to get to the top or bottom of the page, the corresponding drop down menu will pull down, even though that's not what the viewer wants.
what i want is so that it only comes down after the mouse has been _idle_ on it for 1000 milliseconds. this way, you will able to scroll the mouse past the menu and not have this menu popping up unannounced.
do you guys understand?
and i would rather not use the onClick="MM_showHideLayers"
any insight would be greatly appreciated.
i'm not an advanced web guy, and i know very little about coding.
but anyways...
i want to put a slight delay on a pull-down in dreamweaver using javascript. i've been able to do so successfully by using:
onMouseOver="MM_showHideLayers('blah','','blah','','blah')" in the body and
function hideIt() {
timer=setTimeout("MM_showHideLayers('blah','','blah','','blah')",1000);
}
in the head
the problem is that if i (or a visitor) scrolls past the menu bar to get to the top or bottom of the page, the corresponding drop down menu will pull down, even though that's not what the viewer wants.
what i want is so that it only comes down after the mouse has been _idle_ on it for 1000 milliseconds. this way, you will able to scroll the mouse past the menu and not have this menu popping up unannounced.
do you guys understand?
and i would rather not use the onClick="MM_showHideLayers"
any insight would be greatly appreciated.






