Changeset 1332
- Timestamp:
- 08/22/06 14:37:05 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/openlayers/2.0/lib/OpenLayers/Layer/EventPane.js
r1211 r1332 38 38 if (this.pane == null) { 39 39 this.pane = OpenLayers.Util.createDiv(); 40 this.pane.style.width = "100%";41 this.pane.style.height = "100%";42 this.pane.style.backgroundColor = "transparent";43 40 } 44 41 } … … 53 50 setMap: function(map) { 54 51 OpenLayers.Layer.prototype.setMap.apply(this, arguments); 55 52 56 53 this.pane.style.zIndex = parseInt(this.div.style.zIndex) + 1; 57 54 this.pane.style.display = this.div.style.display; 55 this.pane.style.width="100%"; 56 this.pane.style.height="100%"; 57 if (/MSIE/.test(navigator.userAgent)) { 58 this.pane.style.background = "url("+OpenLayers.Util.getImagesLocation()+"blank.gif)"; 59 } 60 58 61 if (this.isFixed) { 59 62 this.map.viewPortDiv.appendChild(this.pane);
