Click to See Complete Forum and Search --> : timeout???


nfuego2
07-18-2003, 08:11 AM
I am trying to close a cascade menu after a set time from when the mouse leaves - would I use a timeout function or something else?? plz see www.futurechef.com and view the navigation menus at top of page once you mouse over the menu continues to remain open - how can I close them say like after 2 secs after the mouse leaves??

pyro
07-18-2003, 08:12 AM
Yeah. onmouseout set a timout:

setTimeout("someFunction()", 2000); //2000 miliseconds.

nfuego2
07-18-2003, 08:21 AM
would th "some function" be then close menu???

pyro
07-18-2003, 08:31 AM
Yes