Topic awaiting preservation: hide dhtml menu after a delay |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: canada |
posted 10-18-2002 05:40
I have this dhtml menu here. I would like the flyouts to disappear about a second after mouseout, not immediately. Please help. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-18-2002 05:45
Oh, jeez. That script has a lot of duplicated code. You gotta put that all in a function which is called multiple times. Then you can take the part that makes the menu invisible, and merely put it in a setTimeout() function call. |
Nervous Wreck (II) Inmate From: canada |
posted 10-18-2002 05:53
Thanx slimey. I sort of figured I would need this setTimeout() thingy, but I don't know how exactly. Please explain coz I'm kinda new. |
Paranoid (IV) Inmate From: Dublin, Ireland |
posted 10-24-2002 20:28 |