I use the function Pulsate (http://docs.jquery.com/UI/Effects/Pulsate). With the argument ‘times’ I can set the times the element pulsates. The Default value is 5, but how can I set it that the element will pulsate infinitely.
I use the function Pulsate ( http://docs.jquery.com/UI/Effects/Pulsate ). With the argument ‘times’ I can
Share
I recommend you don’t use JQueryUI at all for this – it’s a very simple animation and can be easily done without loading UI:
Working demo: http://jsfiddle.net/AlienWebguy/bSWMC/
As you can see, it can be tweaked quite easily by changing the speed of the fades and the duration of the delays.
The original JQueryUI
pulsate()function uses aforloop fortimesso you can’t achieve your result using this plugin without changing the logic of the plugin: