5 lines
636 B
JavaScript
5 lines
636 B
JavaScript
/*! jQuery UI - v1.9.1 - 2012-10-25
|
|
* http://jqueryui.com
|
|
* Includes: jquery.ui.effect-highlight.js
|
|
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
|
|
(function(e,t){e.effects.effect.highlight=function(t,n){var r=e(this),i=["backgroundImage","backgroundColor","opacity"],s=e.effects.setMode(r,t.mode||"show"),o={backgroundColor:r.css("backgroundColor")};s==="hide"&&(o.opacity=0),e.effects.save(r,i),r.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),n()}})}})(jQuery); |