[Mapbender-commits] r6211 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue May 18 10:02:07 EDT 2010


Author: verenadiewald
Date: 2010-05-18 10:02:07 -0400 (Tue, 18 May 2010)
New Revision: 6211

Modified:
   trunk/mapbender/http/javascripts/mod_sandclock.js
Log:
sandclock visible in IE

Modified: trunk/mapbender/http/javascripts/mod_sandclock.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_sandclock.js	2010-05-18 12:00:40 UTC (rev 6210)
+++ trunk/mapbender/http/javascripts/mod_sandclock.js	2010-05-18 14:02:07 UTC (rev 6211)
@@ -96,10 +96,11 @@
 		var mapId = arg.mapId;
 
 		var $clock = $("#" + nodeId + "_sandclock");
+		
 		if ($clock.size() === 0) {
 			//create Box Elements
 			$(
-				"<div id='" + nodeId + "_sandclock'>"
+				"<div id='" + nodeId + "_sandclock'></div>"
 			).css({
 				position: "absolute",
 				top: "0px",
@@ -115,7 +116,7 @@
 			zIndex: 1000
 		}).html(
 			"<img style='position:absolute; top:50%; left:50%' src='" + 
-			mod_sandclock_img.src+"'></div>"
+			mod_sandclock_img.src+"'>"
 		);
 
 		if (arg.blockElement) {



More information about the Mapbender_commits mailing list