Mercurial > dive4elements > gnv-client
diff gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 710:5f29bfeb61bd
Improved the design and layout of the user interface.
gnv/trunk@980 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Sun, 25 Apr 2010 21:05:44 +0000 |
parents | d2582f75b144 |
children | cfea6dacd52a |
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp Fri Apr 23 14:57:32 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp Sun Apr 25 21:05:44 2010 +0000 @@ -13,11 +13,9 @@ <meta http-equiv="pragma" content="no-cache"/> <meta http-equiv="cache-control" content="no-cache"/> <meta name="robots" content="noindex"/> - <link href="styles/default.css" rel="stylesheet" type="text/css"/> + <link href="styles/gnv.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="scripts/gnviewer.js"></script> - <script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script> <script type="text/javascript"> - jQuery.noConflict(); function copy_demo_wkt_line() { document.getElementById('mesh_linestring').value = "LINESTRING (" + @@ -64,23 +62,12 @@ } } -/** - * Calculate the content's height (content = window -header - footer). - */ -function initHeight() { - var winHeight = window.innerHeight; - var headerHeight = jQuery("headerElement").innerHeight(); - var footerHeight = jQuery("footerElement").innerHeight(); - var height = winHeight - headerHeight - footerHeight; - jQuery("contentElement").innerHeight(height); - jQuery(window).resize(initHeight); -} </script> </head> - <body id="gnviewerbody" onload="initHeight();"> + <body id="gnviewerbody"> <div id="overlay"></div> - <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute"> + <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute;visibility:hidden;"> <div id="overlayContent"> <p> <bean:message key="gnviewer.productselection.overlay.title"/> @@ -99,7 +86,6 @@ <div id="contentElement" class="contentElement"> <jsp:include page="index.jsp" /> </div> - <br> <div id="footerElement"> <jsp:include page="footer.jsp" /> </div>