View Full Version : stepcarousel - script freeze

08-01-2009, 03:36 PM
1) Script Title: stepcarousel

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm

3) Describe problem:

When a user tries to move too fast (say, clicks on a navigational arrow to stepBy('mygallery_food', -1)

the script freezes up and doesn't unfreeze. if the user doesn't rapidly click the arrow, or link, then the script is great. but there is a limit on how fast the action can be called.

is there any way to prevent this from happening. I tried to set delay, however that doesn't work because the calls are still made in succession, just delayed from when they were called, not spacing the calls out.



08-02-2009, 07:35 AM
Inside the .js file, try doing a search and replace, whereby search for "config.$belt.animate", and replace by "config.$belt.stop().animate". Does that help?