Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4081583
jquery.ui.effect-clip.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
jquery.ui.effect-clip.js
View Options
/*!
* jQuery UI Effects Clip 1.9.2
* http://jqueryui.com
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/clip-effect/
*
* Depends:
* jquery.ui.effect.js
*/
(
function
(
$
,
undefined
)
{
$
.
effects
.
effect
.
clip
=
function
(
o
,
done
)
{
// Create element
var
el
=
$
(
this
),
props
=
[
"position"
,
"top"
,
"bottom"
,
"left"
,
"right"
,
"height"
,
"width"
],
mode
=
$
.
effects
.
setMode
(
el
,
o
.
mode
||
"hide"
),
show
=
mode
===
"show"
,
direction
=
o
.
direction
||
"vertical"
,
vert
=
direction
===
"vertical"
,
size
=
vert
?
"height"
:
"width"
,
position
=
vert
?
"top"
:
"left"
,
animation
=
{},
wrapper
,
animate
,
distance
;
// Save & Show
$
.
effects
.
save
(
el
,
props
);
el
.
show
();
// Create Wrapper
wrapper
=
$
.
effects
.
createWrapper
(
el
).
css
({
overflow
:
"hidden"
});
animate
=
(
el
[
0
].
tagName
===
"IMG"
)
?
wrapper
:
el
;
distance
=
animate
[
size
]();
// Shift
if
(
show
)
{
animate
.
css
(
size
,
0
);
animate
.
css
(
position
,
distance
/
2
);
}
// Create Animation Object:
animation
[
size
]
=
show
?
distance
:
0
;
animation
[
position
]
=
show
?
0
:
distance
/
2
;
// Animate
animate
.
animate
(
animation
,
{
queue
:
false
,
duration
:
o
.
duration
,
easing
:
o
.
easing
,
complete
:
function
()
{
if
(
!
show
)
{
el
.
hide
();
}
$
.
effects
.
restore
(
el
,
props
);
$
.
effects
.
removeWrapper
(
el
);
done
();
}
});
};
})(
jQuery
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 18 2026, 06:09 (7 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
46/95/ffd0e8bbb147f22ff572159a8fb8
Default Alt Text
jquery.ui.effect-clip.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment