Author: simoneg
Date: Mon Feb 15 17:58:47 2010
New Revision: 910279
URL: http://svn.apache.org/viewvc?rev=910279&view=rev
Log:
Fix for IE7
Modified:
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js
Modified:
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js?rev=910279&r1=910278&r2=910279&view=diff
==============================================================================
---
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js
(original)
+++
labs/magma/trunk/website-maps-google/src/main/resources/org/apache/magma/website/maps/mapEditor.js
Mon Feb 15 17:58:47 2010
@@ -692,15 +692,17 @@
StatusControl.prototype.initialize = function(map) {
var me = this;
- var status_div = document.createElement('span');
- status_div.style.color = 'grey';
- status_div.style.backgroundColor = 'white';
- status_div.style.border = '1px solid grey';
- status_div.style.padding = '5px';
- status_div.style.fontSize = '11px';
+ var status_div = $('<div style="color: gray; background: white; border: 1px
solid gray; padding: 5px"></div>')[0];
+ alert("ciao");
+ map.getContainer().appendChild(status_div);
+ //alert("Style : " + status_div.style.color);
+ //status_div.style.color = 'grey';
+ //status_div.style.background = 'white';
+ //status_div.style.border = '1px solid grey';
+ //status_div.style.padding = '5px';
+ //status_div.style.fontSize = '11px';
status_div.innerHTML = 'Select geometries by clicking on them.';
this.status_div = status_div;
- map.getContainer().appendChild(status_div);
return this.status_div;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]