[Mapbender-commits] r2278 - branches/nimix_dev/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Mar 20 08:56:52 EDT 2008


Author: nimix
Date: 2008-03-20 08:56:52 -0400 (Thu, 20 Mar 2008)
New Revision: 2278

Modified:
   branches/nimix_dev/http/javascripts/popup.js
Log:
balloon position fix for ie

Modified: branches/nimix_dev/http/javascripts/popup.js
===================================================================
--- branches/nimix_dev/http/javascripts/popup.js	2008-03-20 12:34:35 UTC (rev 2277)
+++ branches/nimix_dev/http/javascripts/popup.js	2008-03-20 12:56:52 UTC (rev 2278)
@@ -281,7 +281,7 @@
 			}
 			else{
 				//bubble on bottom
-				settings.top = settings.hotSpotY-settings.height-bubble_height-parseInt(this.css("border-top-width"));
+				settings.top = settings.hotSpotY-settings.height-bubble_height+(top.ie?parseInt(this.css("border-bottom-width")):-parseInt(this.css("border-top-width")));
 				position+=2;
 			}
 			if(settings.hotSpotX+settings.width+parseInt(this.css("border-left-width"))+parseInt(this.css("border-right-width"))>(dim.X+dim.wW)){



More information about the Mapbender_commits mailing list