vitro/webapp/web/js/vitroUtils.js

12 lines
No EOL
514 B
JavaScript
Executable file

/* $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 $.
// fade out welcome-message when user logs in
jQuery('section#welcome-message').css('display', 'block').delay(2000).fadeOut(1500);
// fade in flash-message when user logs out
jQuery('section#flash-message').css('display', 'none').fadeIn(1500);
});