Changeset 6704
- Timestamp:
- 03/30/08 11:25:11 (9 months ago)
- Files:
-
- sandbox/euzuro/pop/lib/OpenLayers/Popup.js (modified) (1 diff)
- sandbox/euzuro/pop/theme/default/style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/euzuro/pop/lib/OpenLayers/Popup.js
r6698 r6704 695 695 addCloseBox: function(callback) { 696 696 697 // close icon 698 var closeSize = new OpenLayers.Size(17,17); 699 var img = OpenLayers.Util.getImagesLocation() + "close.gif"; 700 this.closeDiv = OpenLayers.Util.createAlphaImageDiv( 701 this.id + "_close", null, closeSize, img 697 this.closeDiv = OpenLayers.Util.createDiv( 698 this.id + "_close", null, new OpenLayers.Size(17, 17) 702 699 ); 700 this.closeDiv.className = "olPopupCloseBox"; 703 701 704 702 // use the content div's css padding to determine if we should sandbox/euzuro/pop/theme/default/style.css
r6674 r6704 231 231 font-size: 1px; 232 232 filter: alpha(opacity=50); 233 } 233 } 234 235 /* 236 * Due to current limitations in the OpenLayers code, you can only 237 * replace this image with another image which is 17px x 17px. 238 */ 239 .olPopupCloseBox { 240 background: url("../../img/close.gif") no-repeat; 241 cursor: pointer; 242 }
