View Single Post
  #3 (permalink)  
Old 10-09-2009, 11:24 AM
scotty scotty is offline
Intermediate Member
 
Posts: 15
Default

You can also define it as a resource in your Zimlet xml file:

Code:
    <resource>more_info.png</resource>
Then use getResource to get the URL for it:

Code:
div.innerHTML = "<img src='" + this.getResource('more_info.png') + "' border='0'/>";
As with the CSS technique, you need to put the image in the zimlet directory.
Reply With Quote