View Full Version : mouseover menu
what is the idea behind hidding menu on settimeout?
This question related to navigation menu
07-06-2002, 03:58 AM
Could you explain that a little more, i don't really understand you question :D:D
what i normally do for mouseover navigation is putting blank layers so that when person mouse over on it menu hides
now what i want is i want menu hide on basis of settime out
07-06-2002, 05:44 AM
you can do that in a couple of ways.
1) By Using Time -- count downs and count ups
2) by using arrays
var a = new Array()
Hope this has helped :D:D:D
Or am i way off the mark?
07-06-2002, 09:06 PM
I think, you are talking about a simple layer-based navigation menu. As long as your mouse is over the link that shows the menu, the menu will be visible. The idea behind using setTimeout() is to make the menu visible for some time before it hides onMouseout.
07-07-2002, 12:06 AM
The general idea behind that is this: a mouseout event will always be fired first when the mouse leaves a menu element; then, assuming you've moved to another element (still over the menu, i.e.) a mouseover will fire on the new element. Obviously, you need to reverse the order of these events if you want to use the over (still over the menu) to cancel the result of an out (hiding the menu). A timer delay does this, giving you a sufficient period to clearTimeout() and cancel the mouseout action. It also can allow for user navigation between non-contiguous (separated) menu panels. Generally it can help to avoid hyper-active, 'flickering' menu systems.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.