View Single Post
  #1 (permalink)  
Old 10-08-2009, 02:26 PM
Chewie71 Chewie71 is offline
Trained Alumni
 
Posts: 342
Default Adding an image to a Zimlet JS file...

I have an more_info.png file stored in a Zimlet. How do I have that image appear in a Zimlet dialog using JS?

Code:
var div = document.createElement("div");
div.innerHTML = '<img src="more_info.png">'
All that appears in the dialog is a broken image item.

Matt
Reply With Quote