annotate src/main/webapp/imageServer/resources/js/jquery-ui-1.10.4/ui/minified/jquery.ui.effect-highlight.min.js @ 205:f719d73383db
Merge iiif_diva branch
964846688a95cc9b0af5ade832b8d34ae4a4bc21
author |
Robert Casties <casties@mpiwg-berlin.mpg.de> |
date |
Mon, 08 Jul 2019 17:55:14 +0200 |
parents |
764f47286679 |
children |
|
rev |
line source |
7
|
1 /*! jQuery UI - v1.10.4 - 2014-01-17
|
|
2 * http://jqueryui.com
|
|
3 * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
|
|
4 (function(t){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],a=t.effects.setMode(s,e.mode||"show"),o={backgroundColor:s.css("backgroundColor")};"hide"===a&&(o.opacity=0),t.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&s.hide(),t.effects.restore(s,n),i()}})}})(jQuery); |