A
AAaron123
The code below opens the window and displays the image as a quick flash then
the image goes away and is replaced by a small icon.
Got any idea how to fix it?
thanks
function openWindow(name, path, w, h){
tmpTitle='title'
OpenWindow=window.open(
path,name,'location=0,resizable=1,width='+w+',height='+h);
OpenWindow.document.write('<html><head><'+tmpTitle+'>'+name+'</'+tmpTitle+'>');
OpenWindow.document.write('<link rel="stylesheet" href="style.css">');
OpenWindow.document.write('</head><body>');
OpenWindow.document.write('<p> <img ImageUrl="' + path+ '" /></p>');
OpenWindow.document.write('</body></html>');
OpenWindow.document.close();
}
the image goes away and is replaced by a small icon.
Got any idea how to fix it?
thanks
function openWindow(name, path, w, h){
tmpTitle='title'
OpenWindow=window.open(
path,name,'location=0,resizable=1,width='+w+',height='+h);
OpenWindow.document.write('<html><head><'+tmpTitle+'>'+name+'</'+tmpTitle+'>');
OpenWindow.document.write('<link rel="stylesheet" href="style.css">');
OpenWindow.document.write('</head><body>');
OpenWindow.document.write('<p> <img ImageUrl="' + path+ '" /></p>');
OpenWindow.document.write('</body></html>');
OpenWindow.document.close();
}