Do you have a question? Post it now! No Registration Necessary. Now with pictures!
February 13, 2005, 8:21 pm
rate this thread
mouseover event by one second?
I have some info that shows when the user points to a graphic (like a
tool-tip) but I'd like to NOT show it if he simply rolls-over the
graphic on his way to somewhere else on the page (like moving up to
Re: Mouseover delay?
Set a variable indicating that the mouse is over the element onmouseover. At
the same time do a setTimeout to run another function once a second had
passed. When onmouseout fires, unset that variable. When the timeout
function fires, test to see if the variable is still set.
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/
Home is where the ~/.bashrc is
- » Why have the graphics stopped showing on my webpage?
- — Next thread in » HTML Markup Language