Layer animation problems
Basically I have a set of links on my site. When someone clicks on the link
a onMouseDown handler is called which executes two functions. The first is
to animate a side panel off the screen and animate a new one to correspond
to the link that was pressed.
Everything works fine till someone decides to go nuts and start clicking
links one after the other before the animation can be completed. In other
words when someone clicks on say the news link, a page will load in an iframe
in the middle and to the side the old panel (whichever it happens to be)
will swing off and the news panel will swing in. When they then click on
say the members link, the news panel will then swish away and the members
panel will come on (and the members page will load in the iframe etc.).
commands until the previous one is done. However, I've tried this in a variety
seems to execute code in parallel, like in my case it'll try and execute
multiple animation functions if the user clicks on the links while the previous
animation function is trying to complete it'll just start an new process
Any ideas? For instance, does anyone know how to turn off the onClick handler
while the animation functions are in process?
Thanks, any help will be greatly apreciated!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL