Last change
on this file since 4918 was
4918,
checked in by nikrou, 14 years ago
|
Feature 1442 : update jquery
- update jquery to 1.4.1
- update jquery ui to 1.7.2
|
-
Property svn:eol-style set to
LF
|
File size:
741 bytes
|
Line | |
---|
1 | (function($){$.effects.highlight=function(o){return this.queue(function(){var el=$(this),props=["backgroundImage","backgroundColor","opacity"];var mode=$.effects.setMode(el,o.options.mode||"show");var color=o.options.color||"#ffff99";var oldColor=el.css("backgroundColor");$.effects.save(el,props);el.show();el.css({backgroundImage:"none",backgroundColor:color});var animation={backgroundColor:oldColor};if(mode=="hide"){animation.opacity=0}el.animate(animation,{queue:false,duration:o.duration,easing:o.options.easing,complete:function(){if(mode=="hide"){el.hide()}$.effects.restore(el,props);if(mode=="show"&&$.browser.msie){this.style.removeAttribute("filter")}if(o.callback){o.callback.apply(this,arguments)}el.dequeue()}})})}})(jQuery); |
---|
Note: See
TracBrowser
for help on using the repository browser.