Break processing

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

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. Sad

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. Smiling

Also, can you suggest, if possible, a better way to solve it? Smiling

Thanks.

detox's picture

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.