innerfade() - How to remove the effect
I'm hoping that someone will be able to help me. I haven't been using jQuery for very long and a client of mine has asked for some pretty intensive jQuery interactivity.
What I have is a series of clickable images and when one is clicked it fires off a slideshow using the innerfade plugin, which is all working. The problem is that if the same clickable image is clicked more than once it fires off the innerfade plugin again and the slideshow starts to run 2x, 3x, 4x faster because it is now running multiple innerfades on the same div.
Can anyone tell me how I can remove the filter/effect before each new innerfade is triggered?
The code I'm using to start the innerfade is:
jQuery("#slideshowImages<?=$process?>").innerfade({speed: 750, timeout: slideFaderSpeed, type: 'sequence',containerheight: wrapperFullHeight});
PHP is used to create the slideshow areas dynamically hence the <?=$process?>.
Thanks for any help.