mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 07:05:37 +01:00
939b818bf9
Adds Tooltip, Menu, and Spinner. Autocomplete depends on Menu. Renames Effects files. 1.9 final is expected next week. see #21736. git-svn-id: http://core.svn.wordpress.org/trunk@21657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
5 lines
708 B
JavaScript
5 lines
708 B
JavaScript
/*! jQuery UI - v1.9.0pre - 2012-08-29
|
|
* http://jqueryui.com
|
|
* Includes: jquery.ui.effect-transfer.js
|
|
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
|
|
(function(e,t){e.effects.effect.transfer=function(t,n){var r=e(this),i=e(t.to),s=i.css("position")==="fixed",o=e("body"),u=s?o.scrollTop():0,a=s?o.scrollLeft():0,f=i.offset(),l={top:f.top-u,left:f.left-a,height:i.innerHeight(),width:i.innerWidth()},c=r.offset(),h=e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(t.className).css({top:c.top-u,left:c.left-a,height:r.innerHeight(),width:r.innerWidth(),position:s?"fixed":"absolute"}).animate(l,t.duration,t.easing,function(){h.remove(),n()})}})(jQuery); |