diff options
Diffstat (limited to 'template-common/lib/ui/minified/effects.highlight.min.js')
-rw-r--r-- | template-common/lib/ui/minified/effects.highlight.min.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template-common/lib/ui/minified/effects.highlight.min.js b/template-common/lib/ui/minified/effects.highlight.min.js index d33041802..bc20b6eea 100644 --- a/template-common/lib/ui/minified/effects.highlight.min.js +++ b/template-common/lib/ui/minified/effects.highlight.min.js @@ -1 +1 @@ -(function(A){A.effects.highlight=function(B){return this.queue(function(){var E=A(this),D=["backgroundImage","backgroundColor","opacity"];var H=A.effects.setMode(E,B.options.mode||"show");var C=B.options.color||"#ffff99";var G=E.css("backgroundColor");A.effects.save(E,D);E.show();E.css({backgroundImage:"none",backgroundColor:C});var F={backgroundColor:G};if(H=="hide"){F["opacity"]=0}E.animate(F,{queue:false,duration:B.duration,easing:B.options.easing,complete:function(){if(H=="hide"){E.hide()}A.effects.restore(E,D);if(H=="show"&&jQuery.browser.msie){this.style.removeAttribute("filter")}if(B.callback){B.callback.apply(this,arguments)}E.dequeue()}})})}})(jQuery)
\ No newline at end of file +(function($){$.effects.highlight=function(o){return this.queue(function(){var el=$(this),props=["backgroundImage","backgroundColor","opacity"];var mode=$.effects.setMode(el,o.options.mode||"show");var color=o.options.color||"#ffff99";var oldColor=el.css("backgroundColor");$.effects.save(el,props);el.show();el.css({backgroundImage:"none",backgroundColor:color});var animation={backgroundColor:oldColor};if(mode=="hide"){animation.opacity=0}el.animate(animation,{queue:false,duration:o.duration,easing:o.options.easing,complete:function(){if(mode=="hide"){el.hide()}$.effects.restore(el,props);if(mode=="show"&&$.browser.msie){this.style.removeAttribute("filter")}if(o.callback){o.callback.apply(this,arguments)}el.dequeue()}})})}})(jQuery);
\ No newline at end of file |