From b31024b49490a8df4b52ec5a6094b797f301982b Mon Sep 17 00:00:00 2001 From: Kanwei Li Date: Tue, 5 Jan 2010 16:32:30 -0500 Subject: [PATCH] Quickies: add close button, fix window height to fit flowplayer --- static/scripts/galaxy.panels.js | 3 ++- static/welcome.html | 14 +++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/static/scripts/galaxy.panels.js b/static/scripts/galaxy.panels.js index 7621c6c205c..67990b28cbd 100644 --- a/static/scripts/galaxy.panels.js +++ b/static/scripts/galaxy.panels.js @@ -210,7 +210,8 @@ function show_in_overlay( options ) { hide_modal(); $("#overlay-background").unbind( "click.overlay" ); }); - show_modal( null, $("
" ) ); + show_modal( null, $("
" ) ); + $("#close_button").bind( "click", function() { hide_modal() } ); } // Tab management diff --git a/static/welcome.html b/static/welcome.html index 6c0e4b5f934..2afabc41fbc 100644 --- a/static/welcome.html +++ b/static/welcome.html @@ -75,49 +75,49 @@ $(document).ready(function() {
- +
- +
- +
- +
- +
- +
- +