From 38227f91153bda5112986195ca18d2c73ad07570 Mon Sep 17 00:00:00 2001 From: tlw72 Date: Wed, 19 Jan 2011 14:53:00 +0000 Subject: [PATCH] have the welcome message fade out --- webapp/web/js/vitroUtils.js | 8 ++++++++ .../templates/freemarker/page/partials/headScripts.ftl | 1 + 2 files changed, 9 insertions(+) create mode 100755 webapp/web/js/vitroUtils.js diff --git a/webapp/web/js/vitroUtils.js b/webapp/web/js/vitroUtils.js new file mode 100755 index 000000000..164a0a975 --- /dev/null +++ b/webapp/web/js/vitroUtils.js @@ -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); + +}); \ No newline at end of file diff --git a/webapp/web/templates/freemarker/page/partials/headScripts.ftl b/webapp/web/templates/freemarker/page/partials/headScripts.ftl index 92e6d171c..d995c593f 100644 --- a/webapp/web/templates/freemarker/page/partials/headScripts.ftl +++ b/webapp/web/templates/freemarker/page/partials/headScripts.ftl @@ -5,6 +5,7 @@ + ${headScripts.tags}