source:
trunk/themes/default/js/ui/minified/jquery.ui.effect-pulsate.min.js
@
18630
Last change on this file since 18630 was 18630, checked in by , 12 years ago | |
---|---|
File size: 647 bytes |
Line | |
---|---|
1 | /*! jQuery UI - v1.9.0 - 2012-10-05 |
2 | * http://jqueryui.com |
3 | * Includes: jquery.ui.effect-pulsate.js |
4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ |
5 | (function(e,t){e.effects.effect.pulsate=function(t,n){var r=e(this),i=e.effects.setMode(r,t.mode||"show"),s=i==="show",o=i==="hide",u=s||i==="hide",a=(t.times||5)*2+(u?1:0),f=t.duration/a,l=0,c=r.queue(),h=c.length,p;if(s||!r.is(":visible"))r.css("opacity",0).show(),l=1;for(p=1;p<a;p++)r.animate({opacity:l},f,t.easing),l=1-l;r.animate({opacity:l},f,t.easing),r.queue(function(){o&&r.hide(),n()}),h>1&&c.splice.apply(c,[1,0].concat(c.splice(h,a+1))),r.dequeue()}})(jQuery); |
Note: See TracBrowser
for help on using the repository browser.