Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10190449
jquery.foundation.alerts.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
480 B
Referenced Files
None
Subscribers
None
jquery.foundation.alerts.js
View Options
;(
function
(
$
,
window
,
undefined
)
{
'use strict'
;
$
.
fn
.
foundationAlerts
=
function
(
options
)
{
var
settings
=
$
.
extend
({
callback
:
$
.
noop
},
options
);
$
(
document
).
on
(
"click"
,
".alert-box a.close"
,
function
(
e
)
{
e
.
preventDefault
();
$
(
this
).
closest
(
".alert-box"
).
fadeOut
(
function
()
{
$
(
this
).
remove
();
// Do something else after the alert closes
settings
.
callback
();
});
});
};
})(
jQuery
,
this
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 26, 05:24 (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2575407
Default Alt Text
jquery.foundation.alerts.js (480 B)
Attached To
Mode
rTOOLS Nasqueron Tools
Attached
Detach File
Event Timeline
Log In to Comment