diff options
Diffstat (limited to 'themes/default/js/ui/minified/effects.pulsate.min.js')
-rw-r--r-- | themes/default/js/ui/minified/effects.pulsate.min.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/default/js/ui/minified/effects.pulsate.min.js b/themes/default/js/ui/minified/effects.pulsate.min.js new file mode 100644 index 000000000..e1e49b0fa --- /dev/null +++ b/themes/default/js/ui/minified/effects.pulsate.min.js @@ -0,0 +1 @@ +(function($){$.effects.pulsate=function(o){return this.queue(function(){var el=$(this);var mode=$.effects.setMode(el,o.options.mode||"show");var times=o.options.times||5;var duration=o.duration?o.duration/2:$.fx.speeds._default/2;if(mode=="hide"){times--}if(el.is(":hidden")){el.css("opacity",0);el.show();el.animate({opacity:1},duration,o.options.easing);times=times-2}for(var i=0;i<times;i++){el.animate({opacity:0},duration,o.options.easing).animate({opacity:1},duration,o.options.easing)}if(mode=="hide"){el.animate({opacity:0},duration,o.options.easing,function(){el.hide();if(o.callback){o.callback.apply(this,arguments)}})}else{el.animate({opacity:0},duration,o.options.easing).animate({opacity:1},duration,o.options.easing,function(){if(o.callback){o.callback.apply(this,arguments)}})}el.queue("fx",function(){el.dequeue()});el.dequeue()})}})(jQuery);
\ No newline at end of file |