[Mapbender-commits] r3014 - branches/2.5/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Sep 26 03:40:15 EDT 2008


Author: astrid_emde
Date: 2008-09-26 03:40:15 -0400 (Fri, 26 Sep 2008)
New Revision: 3014

Modified:
   branches/2.5/http/javascripts/popup.js
Log:
top.ie replaced by $.browser.msie

Modified: branches/2.5/http/javascripts/popup.js
===================================================================
--- branches/2.5/http/javascripts/popup.js	2008-09-26 07:39:55 UTC (rev 3013)
+++ branches/2.5/http/javascripts/popup.js	2008-09-26 07:40:15 UTC (rev 3014)
@@ -283,7 +283,7 @@
 			event.data.El.css("z-index",popup_top++);
 			event.data.El.css('opacity',event.data.moveOpacity)
 			//create helper div to steal mouse events
-			$("body").append("<div style=\"position:absolute;top:0px;left:0px;width:"+$().width()+"px;height:"+$().height()+"px;z-index:"+(popup_top+2)+(top.ie?";background:url(../img/transparent.gif)":"")+"\" id=\"mouse_catcher\"></div>");
+			$("body").append("<div style=\"position:absolute;top:0px;left:0px;width:"+$().width()+"px;height:"+$().height()+"px;z-index:"+(popup_top+2)+($.browser.msie?";background:url(../img/transparent.gif)":"")+"\" id=\"mouse_catcher\"></div>");
 			$("iframe", event.data.El).hide();
 						
 			//Parse setiings of min and max position
@@ -299,7 +299,7 @@
 			event.data.El.css("z-index",popup_top++);
 			event.data.El.css('opacity',0.8)
 			//create helper div to steal mouse events
-			$("body").append("<div style=\"position:absolute;top:0px;left:0px;width:"+$().width()+"px;height:"+$().height()+"px;z-index:"+(popup_top+2)+(top.ie?";background:url(../img/transparent.gif)":"")+"\" id=\"mouse_catcher\"></div>");
+			$("body").append("<div style=\"position:absolute;top:0px;left:0px;width:"+$().width()+"px;height:"+$().height()+"px;z-index:"+(popup_top+2)+($.browser.msie?";background:url(../img/transparent.gif)":"")+"\" id=\"mouse_catcher\"></div>");
 			$("iframe", event.data.El).hide();
 
 			//Parse setiings of min and max position



More information about the Mapbender_commits mailing list