Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delay MM_showMenu() during quick onmouseover?

Status
Not open for further replies.

pgmr777

Programmer
Aug 16, 2006
111
US
Dreamweaver/Fireworks generated menu.
Anybody know any way to delay the menu dropdowns during onmouseover a bit so that when you pass over the menu but don't stop on it, it doesn't open? I want it to only open when the mouse cursor is on it for more than say half a second. Problem is users are zipping around the screen with the mouse and whenever it passes over it even very rapidly the menu opens...annoying. I tried a javascript pause, and that works however it still opens after the pause, and the mouse is nowhere near it then. I need it to only open if the mouse stops and hovers on it.
Thanks.
 
This question really has nothing to do with HTML and would be better suited in forum216 or forum248 (or forum770, I don't use Dreamweaver and don't know what is the difference between versions).

[small]Do something about world cancer today: Comprehensive cancer control information at PACT[/small]
 
You would use JavaScript here...

Look into setTimeOut and style.visibility on the drop down menu.

If you need more info, check out the JavaScript forum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top