cms/drupal/misc/ui/jquery.effects.highlight.min.js
changeset 541 e756a8c72c3d
equal deleted inserted replaced
540:07239de796bb 541:e756a8c72c3d
       
     1 
       
     2 /*
       
     3  * jQuery UI Effects Highlight 1.8.7
       
     4  *
       
     5  * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
       
     6  * Dual licensed under the MIT or GPL Version 2 licenses.
       
     7  * http://jquery.org/license
       
     8  *
       
     9  * http://docs.jquery.com/UI/Effects/Highlight
       
    10  *
       
    11  * Depends:
       
    12  *	jquery.effects.core.js
       
    13  */
       
    14 (function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&&
       
    15 this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);