Break processing
I have a menu that fades in and out the opacity property. When the user MousesOver a link a menu fades in, and when the user MousesOut the menu fades out. The fading process uses setTimeout().
Both fade-in and fade-out work properly when isolated of each other. When the user MousesOver, then MousesOut before the menu fades in entirely the fading processes clash and freeze.
Is there any way to break all or any one current JS processes on a page? If it is possible then I can break the fade-in process before the fade-out process to solve the problem.
Also, can you suggest, if possible, a better way to solve it?
Thanks.
detox posted this at 11:24 — 28th December 2001.
They have: 571 posts
Joined: Feb 2001
could you possibly post a link to the menu?
kinda hard when I cant see it....
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.