Last change
on this file since 9172 was
9172,
checked in by patdenice, 13 years ago
|
Update jQuery to 1.5 and jQuery UI to 1.8.9
|
File size:
887 bytes
|
Line | |
---|
1 | /* |
---|
2 | * jQuery UI Effects Blind 1.8.9 |
---|
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/Blind |
---|
9 | * |
---|
10 | * Depends: |
---|
11 | * jquery.effects.core.js |
---|
12 | */ |
---|
13 | (function(b){b.effects.blind=function(c){return this.queue(function(){var a=b(this),g=["position","top","bottom","left","right"],f=b.effects.setMode(a,c.options.mode||"hide"),d=c.options.direction||"vertical";b.effects.save(a,g);a.show();var e=b.effects.createWrapper(a).css({overflow:"hidden"}),h=d=="vertical"?"height":"width";d=d=="vertical"?e.height():e.width();f=="show"&&e.css(h,0);var i={};i[h]=f=="show"?d:0;e.animate(i,c.duration,c.options.easing,function(){f=="hide"&&a.hide();b.effects.restore(a, |
---|
14 | g);b.effects.removeWrapper(a);c.callback&&c.callback.apply(a[0],arguments);a.dequeue()})})}})(jQuery); |
---|
Note: See
TracBrowser
for help on using the repository browser.