OpenLayers OpenLayers

Changeset 1642

Show
Ignore:
Timestamp:
10/06/06 07:28:48 (2 years ago)
Author:
crschmidt
Message:

Move permalink up after moving its styling information into style.css.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Control/Permalink.js

    r1634 r1642  
    5757    draw: function() { 
    5858        OpenLayers.Control.prototype.draw.apply(this, arguments); 
    59  
     59           
    6060        if (!this.element) { 
     61            this.div.className = 'olControlPermalink'; 
    6162            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"; 
    6863            this.element.style.fontSize="smaller"; 
    6964            this.element.innerHTML = "Permalink"; 
  • trunk/openlayers/theme/default/style.css

    r1641 r1642  
    55    position: absolute; 
    66} 
     7.olControlPermalink { 
     8    right: 3px; 
     9    bottom: 1.5em; 
     10    display: block; 
     11    position: absolute; 
     12}