I ran into a problem with jQuery , so I think I figured out a workaround, but I need help.
I am currently attaching a loop slide show () to my div as follows:
function startSlideshow() {
$('#slideshow').cycle({ some parameters });
}
When I pause and restart this slide show, it detects strange behavior due to errors in the loop plugin. So my workaround is this: destroy the existing loop () and then just recreate it on the fly.
I can easily recreate it by calling startSlideshow () again ... but how can I kill the old loop () attached to the div?
I suppose I'm looking for a way to completely “undo” or “untie” it (and the jQuery unbind () method is wrong).
Thanks-- Eric
source
share