vitro/webapp/web/js/vitroUtils.js

12 lines
514 B
JavaScript
Raw Normal View History

2011-01-19 14:53:00 +00:00
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
$(document).ready(function(){
// Use jQuery() instead of $() alias, because dwr/util.js, loaded on back end editing
// pages, overwrites $.
2011-01-19 14:53:00 +00:00
// fade out welcome-message when user logs in
jQuery('section#welcome-message').css('display', 'block').delay(2000).fadeOut(1500);
2011-01-19 14:53:00 +00:00
// fade in flash-message when user logs out
jQuery('section#flash-message').css('display', 'none').fadeIn(1500);
2011-01-19 14:53:00 +00:00
});