Changeset 1642
- Timestamp:
- 10/06/06 07:28:48 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Control/Permalink.js (modified) (1 diff)
- trunk/openlayers/theme/default/style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Control/Permalink.js
r1634 r1642 57 57 draw: function() { 58 58 OpenLayers.Control.prototype.draw.apply(this, arguments); 59 59 60 60 if (!this.element) { 61 this.div.className = 'olControlPermalink'; 61 62 this.element = document.createElement("a"); 62 this.div.style.right = "3px";63 this.div.style.bottom = "3px";64 this.div.style.left = "";65 this.div.style.top = "";66 this.div.style.display = "block";67 this.div.style.position = "absolute";68 63 this.element.style.fontSize="smaller"; 69 64 this.element.innerHTML = "Permalink"; trunk/openlayers/theme/default/style.css
r1641 r1642 5 5 position: absolute; 6 6 } 7 .olControlPermalink { 8 right: 3px; 9 bottom: 1.5em; 10 display: block; 11 position: absolute; 12 }
