svn commit: r207 - trunk/mapbender/http/extensions/wz_jsgraphics.js

christoph at osgeo.org christoph at osgeo.org
Tue May 9 06:12:53 EDT 2006


Author: christoph
Date: 2006-05-09 10:12:53+0000
New Revision: 207

Modified:
   trunk/mapbender/http/extensions/wz_jsgraphics.js

Log:
fixed firefox bug (cw_opacity not found). 

replaced cw_opacity by window.cw_opacity

Modified: trunk/mapbender/http/extensions/wz_jsgraphics.js
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/extensions/wz_jsgraphics.js?view=diff&rev=207&p1=trunk/mapbender/http/extensions/wz_jsgraphics.js&p2=trunk/mapbender/http/extensions/wz_jsgraphics.js&r1=206&r2=207
==============================================================================
--- trunk/mapbender/http/extensions/wz_jsgraphics.js	(original)
+++ trunk/mapbender/http/extensions/wz_jsgraphics.js	2006-05-09 10:12:53+0000
@@ -110,7 +110,9 @@
                 '-khtml-opacity:' + cw_opacity + ';'+
                 'filter: alpha(opacity=' + (cw_opacity * 100) + ');';
         }
-        this.htm += '-moz-opacity:' + cw_opacity + ';'+
+
+//'-moz-opacity:' + window.cw_opacity + ';'+
+        this.htm += 
                 'clip:rect(0,'+w+'px,'+h+'px,0);'+
                 'background-color:' + this.color +
                 (!jg_moz? ';overflow:hidden' : '')+




More information about the Mapbender_commits mailing list