JQuery UI Slider Reset
Long time reader... love all the answers I've been able to get out of this site, and now I've gotten a real stumper that I need to ask to the JQuery pros...

I've built a plug-in (to the best of my abilities, still not that great at JQuery) which loads a set of 3-4 images and then uses a single UI Slider to control multiple crossfade animations between those images. What's more, I've added a play button which programatically moves the handle (using a combination of the **Change** event and **setInterval**) from start to finish, similar to a video playback controller. The user must have the option of 1) manually sliding the timeline if they want to control the crossfade, or 2) just hitting play and watching the crossfade on their own. I've gotten this all to work great.

The problem comes when I want to load another set of images into the container, which requires another call to the plug-in again. However, if the slider's **Change** event is continually firing when the plug-in is reloaded, it gets "stuck" and will continue firing the **Change** event forever, which causes the other controls I have in there to become inoperative. I've tried all sorts of resets, re-initializations, even trying to destroy the entire plug-in prior to re-loading it, but I can't get the blasted **Change** event to stop. (I do notice that putting breakpoints in FireBug and then hitting play after a few seconds will make it reset properly, so it could be a fact of the slider not being able to re-initialize fast enough.)

I won't list my code cause it's way too long (and all the seasoned pros will probably yell at me for all my inefficiencies haha), but I need to know if there's some way to stop the slider's **Change** event before the plug-in gets reloaded. The click event that loads the new images is being called in a separate JQuery plug-in so I can't exactly combine the 2 together without a massive overhaul. I've been all over this site for a few hours and can't find anything remotely related to my problem. Anyone run across this problem before?

Thanks all.
JQuery UI Slider Reset
===

Long time reader... love all the answers I've been able to get out of this site, and now I've gotten a real stumper that I need to ask to the JQuery pros...

I've built a plug-in (to the best of my abilities, still not that great at JQuery) which loads a set of 3-4 images and then uses a single UI Slider to control multiple crossfade animations between those images. What's more, I've added a play button which programatically moves the handle (using a combination of the **Change** event and **setInterval**) from start to finish, similar to a video playback controller. The user must have the option of 1) manually sliding the timeline if they want to control the crossfade, or 2) just hitting play and watching the crossfade on their own. I've gotten this all to work great.

The problem comes when I want to load another set of images into the container, which requires another call to the plug-in again. However, if the slider's **Change** event is continually firing when the plug-in is reloaded, it gets "stuck" and will continue firing the **Change** event forever, which causes the other controls I have in there to become inoperative. I've tried all sorts of resets, re-initializations, even trying to destroy the entire plug-in prior to re-loading it, but I can't get the blasted **Change** event to stop. (I do notice that putting breakpoints in FireBug and then hitting play after a few seconds will make it reset properly, so it could be a fact of the slider not being able to re-initialize fast enough.)

I won't list my code cause it's way too long (and all the seasoned pros will probably yell at me for all my inefficiencies haha), but I need to know if there's some way to stop the slider's **Change** event before the plug-in gets reloaded. The click event that loads the new images is being called in a separate JQuery plug-in so I can't exactly combine the 2 together without a massive overhaul. I've been all over this site for a few hours and can't find anything remotely related to my problem. Anyone run across this problem before?

Thanks all.