5 lines
796 B
JavaScript
5 lines
796 B
JavaScript
/*! jQuery UI - v1.8.20 - 2012-04-30
|
|
* https://github.com/jquery/jquery-ui
|
|
* Includes: jquery.effects.highlight.js
|
|
* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
|
|
(function(a,b){a.effects.highlight=function(b){return this.queue(function(){var c=a(this),d=["backgroundImage","backgroundColor","opacity"],e=a.effects.setMode(c,b.options.mode||"show"),f={backgroundColor:c.css("backgroundColor")};e=="hide"&&(f.opacity=0),a.effects.save(c,d),c.show().css({backgroundImage:"none",backgroundColor:b.options.color||"#ffff99"}).animate(f,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),e=="show"&&!a.support.opacity&&this.style.removeAttribute("filter"),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}})(jQuery); |