[Mapbender-commits] r4092 - branches/2.6/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jun 23 12:34:53 EDT 2009


Author: verenadiewald
Date: 2009-06-23 12:34:53 -0400 (Tue, 23 Jun 2009)
New Revision: 4092

Modified:
   branches/2.6/http/javascripts/mod_copyright.php
Log:
http://trac.osgeo.org/mapbender/ticket/427

Modified: branches/2.6/http/javascripts/mod_copyright.php
===================================================================
--- branches/2.6/http/javascripts/mod_copyright.php	2009-06-23 16:00:32 UTC (rev 4091)
+++ branches/2.6/http/javascripts/mod_copyright.php	2009-06-23 16:34:53 UTC (rev 4092)
@@ -1,7 +1,7 @@
 <?php
 # $Id$
 # http://www.mapbender.org/index.php/mod_copyright.php
-# Copyright (C) 2002 CCGIS 
+# Copyright (C) 2002 CCGIS
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -39,6 +39,7 @@
 eventAfterMapRequest.register(function () {
 	mod_copyright();
 });
+
 function mod_copyright(){
 	var ind = getMapObjIndexByName(mod_copyright_target);
 	var myMapObj = mb_mapObj[ind];
@@ -57,13 +58,9 @@
 		el_top.style.position = "absolute";
 		el_top.style.top = "0px";
 		el_top.style.left = "0px";
-		el_top.style.width = "0px";
-		el_top.style.height = "0px";
 		el_top.style.overflow = "hidden";
-		el_top.style.zIndex = "10";
-		el_top.style.visibility = "hidden";
+		el_top.style.zIndex = "1000";
 		el_top.style.cursor = "crosshair";
-		el_top.style.backgroundColor = "#ff0000";
 		el_top.id = myMapObj.elementName+"_copyright";
 		map_el.appendChild(el_top);
 	}



More information about the Mapbender_commits mailing list