Hi,
I want to open a image in new window from one tool.
In IE7 window.open giving Access Denied error.
So, I have used following code
this is not showing image, but when I am using
background-image:url(2500_ TV_Stereo.jpg);
it is coming, but when I am trying to print, it is not printing because it is a background image.
I want to print background image or I want to image to be displayed
Can any one please help me out.
Thanks in advance
I want to open a image in new window from one tool.
In IE7 window.open giving Access Denied error.
So, I have used following code
Code:
function newWindow() {
var msg='<html><body><form><img src="2500_TV_Stereo.jpg" /></form></body></html>\n';
var win = open('','',params);
win.document.writeln(msg);
win.document.close();
}
background-image:url(2500_ TV_Stereo.jpg);
it is coming, but when I am trying to print, it is not printing because it is a background image.
I want to print background image or I want to image to be displayed
Can any one please help me out.
Thanks in advance
Comment