Mercurial > hg > rr-repo
annotate misc/ui/jquery.effects.highlight.min.js @ 11:b0ee71395280
deleted .DS_Store files
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Mon, 28 Oct 2013 16:12:13 +0000 |
parents | ff03f76ab3fe |
children |
rev | line source |
---|---|
danielebarchiesi@0 | 1 |
danielebarchiesi@0 | 2 /* |
danielebarchiesi@0 | 3 * jQuery UI Effects Highlight 1.8.7 |
danielebarchiesi@0 | 4 * |
danielebarchiesi@0 | 5 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) |
danielebarchiesi@0 | 6 * Dual licensed under the MIT or GPL Version 2 licenses. |
danielebarchiesi@0 | 7 * http://jquery.org/license |
danielebarchiesi@0 | 8 * |
danielebarchiesi@0 | 9 * http://docs.jquery.com/UI/Effects/Highlight |
danielebarchiesi@0 | 10 * |
danielebarchiesi@0 | 11 * Depends: |
danielebarchiesi@0 | 12 * jquery.effects.core.js |
danielebarchiesi@0 | 13 */ |
danielebarchiesi@0 | 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&& |
danielebarchiesi@0 | 15 this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); |