Last change
on this file since 24421 was 24421, checked in by sjm84, 13 years ago |
Adding a new version of jquery
|
-
Property svn:executable
set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | /*
|
---|
2 | * jQuery UI Effects Slide 1.8.15
|
---|
3 | *
|
---|
4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
---|
5 | * Dual licensed under the MIT or GPL Version 2 licenses.
|
---|
6 | * http://jquery.org/license
|
---|
7 | *
|
---|
8 | * http://docs.jquery.com/UI/Effects/Slide
|
---|
9 | *
|
---|
10 | * Depends:
|
---|
11 | * jquery.effects.core.js
|
---|
12 | */
|
---|
13 | (function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","bottom","left","right"],f=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var g=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var e=d.options.distance||(g=="top"?a.outerHeight({margin:true}):a.outerWidth({margin:true}));if(f=="show")a.css(g,b=="pos"?isNaN(e)?"-"+e:-e:e);
|
---|
14 | var i={};i[g]=(f=="show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+e;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){f=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.