Very similar to my implementation....
Eric Garrison's Personal Blog » Blog Archive » Simple MVC 3 Notifications (with Razor and jQuery): "
$(document).ready(function () {
$("#NotificationBox").fadeIn(5000);
if ($("#NotificationBox").attr('class').split(' ').slice(-1) == "nb-success") {
$("#NotificationBox").delay(3000).fadeOut(1000);
}
});
"
'via Blog this'
No comments:
Post a Comment