Changeset 6679
- Timestamp:
- 03/28/08 21:31:08 (10 months ago)
- Files:
-
- sandbox/euzuro/pop/lib/OpenLayers/Popup/Framed.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/euzuro/pop/lib/OpenLayers/Popup/Framed.js
r6678 r6679 285 285 var r = positionBlock.anchor.right; 286 286 var t = positionBlock.anchor.top; 287 287 288 288 //note that we use the isNaN() test here because if the 289 289 // size object is initialized with a "auto" parameter, the … … 292 292 // 293 293 var w = (isNaN(positionBlock.size.w)) ? this.size.w - (r + l) 294 : positionBlock.size.w;294 : positionBlock.size.w; 295 295 296 296 var h = (isNaN(positionBlock.size.h)) ? this.size.h - (b + t) 297 : positionBlock.size.h;297 : positionBlock.size.h; 298 298 299 299 block.div.style.width = w + 'px'; … … 308 308 block.image.style.top = positionBlock.position.y + 'px'; 309 309 } 310 310 311 311 this.contentDiv.style.left = this.padding.left + "px"; 312 312 this.contentDiv.style.top = this.padding.top + "px";
