Bug: Can't stop pulsate
Bug: Can't stop pulsate
$('#some-id').effect('pulsate', {times: 1000}, 1000);
$('#some-id').stop(); /* <== Don't work */
IMO the reason is that in the pulsate code there is:
for (var i = 0; i < times; i++) { // Pulsate
el.animate({opacity: 0}, o.duration / 2,
o.options.easing).animate({opacity: 1}, o.duration / 2,
o.options.easing);
};
There is no check inside the loop to see if the effect was stopped.