have the welcome message fade out

This commit is contained in:
tlw72 2011-01-19 14:53:00 +00:00
parent d41e94a822
commit 38227f9115
2 changed files with 9 additions and 0 deletions

8
webapp/web/js/vitroUtils.js Executable file
View file

@ -0,0 +1,8 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
$(document).ready(function(){
// fade out welcome-message when user logs in
$('section#welcome-message').css('display', 'block').delay(2000).fadeOut(1500);
});

View file

@ -5,6 +5,7 @@
<!-- script for enabling new HTML5 semantic markup in IE browsers-->
<script type="text/javascript" src="${urls.base}/js/html5.js"></script>
<script type="text/javascript" src="${urls.base}/js/jquery.js"></script>
<script type="text/javascript" src="${urls.base}/js/vitroUtils.js"></script>
${headScripts.tags}