How to put image in popup window?
I know that any html code can be written in a popup window by below technique:
myWindow = window.open('', 'header', 'menubar=0', 'toolbar=0', etc..);
myWindow.document.write('<font color=red>Hello World!</font>');
But when I type;
myWindow.document.write('<img alt=ALTERNATIVE src=./image.jpeg>');
It never shows the image, instead it shows 'ALTERNATIVE' written on the page. I can't understand why it's doing this. Anyone of you has an idea? I'd appriciate it..
Than you very much..