Changeset 71

Show
Ignore:
Timestamp:
07/23/08 15:44:51 (2 months ago)
Author:
bi..@lilyapp.org
Message:

add a method to reset the size of pic

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lily/lily/chrome/content/externals/pic.js

    r1 r71  
    8787        this.setBgSrc=function(str) { 
    8888                this.resizeElement.style.backgroundImage="url("+processURL(str)+")"; 
    89         }        
     89        } 
     90         
     91        this.resetSize=function() { 
     92                setSize(); 
     93        } 
    9094         
    9195        //don't blow away the size if we're loading the 1 pixel gif.