Mercurial > hg > batmud > gmap2
changeset 11:464b0131bafd gmap2
tidying
author | jeskko |
---|---|
date | Mon, 21 Sep 2009 14:33:05 +0000 |
parents | 418baf7942ca |
children | b612f7105fd9 |
files | css/mapstyle.css index.html js/nav.js |
diffstat | 3 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/css/mapstyle.css Mon Sep 21 14:32:07 2009 +0000 +++ b/css/mapstyle.css Mon Sep 21 14:33:05 2009 +0000 @@ -48,7 +48,7 @@ #sidetop { position: absolute; right: 0px; - top: 3em; + top: -10px; background-image: url(../i/graytop.jpg); height: 10px; width: 290px; @@ -59,7 +59,7 @@ #sidebottom { position: absolute; background-image: url(../i/graybottom.jpg); - bottom: 1.5em; + bottom: -10px; right: 0px; height: 10px; width: 290px;
--- a/index.html Mon Sep 21 14:32:07 2009 +0000 +++ b/index.html Mon Sep 21 14:33:05 2009 +0000 @@ -23,9 +23,9 @@ </div> <div id="sidebar"> <div id="sidecontent"></div> + <div id="sidetop"></div> + <div id="sidebottom"></div> </div> - <div id="sidetop"></div> - <div id="sidebottom"></div> <div id="sidecoll"> <div id="topcorner"><img src="i/graycornertop.jpg"/></div> <div id="collbuttondiv">
--- a/js/nav.js Mon Sep 21 14:32:07 2009 +0000 +++ b/js/nav.js Mon Sep 21 14:33:05 2009 +0000 @@ -10,8 +10,6 @@ document.getElementById("footer").style.right="0px"; document.getElementById("map").style.right="8px"; document.getElementById("collbutton").src="i/left.gif"; - document.getElementById("sidetop").style.display="none"; - document.getElementById("sidebottom").style.display="none"; collapsed=1; } else @@ -21,8 +19,6 @@ document.getElementById("footer").style.right="0px"; document.getElementById("map").style.right="300px"; document.getElementById("collbutton").src="i/right.gif"; - document.getElementById("sidetop").style.display=""; - document.getElementById("sidebottom").style.display=""; collapsed=0; } }