shahid
May 14th, 2003, 04:01 AM
hi i have some link on my page
when some one click the the links
i want to get 1st the image on server then the window open
with the image size....
i wrote this code but it's work some time ....
function getwin(msrc)
{
var mm = new image()
mm.src = msrc
imgh = mm.height
imgw = mm.width
window.open('test1.htm?src='+msrc,'_blank','height='+imgh+',width='+imgw+',top=0,left=100')
}
can some help plz
thanks
when some one click the the links
i want to get 1st the image on server then the window open
with the image size....
i wrote this code but it's work some time ....
function getwin(msrc)
{
var mm = new image()
mm.src = msrc
imgh = mm.height
imgw = mm.width
window.open('test1.htm?src='+msrc,'_blank','height='+imgh+',width='+imgw+',top=0,left=100')
}
can some help plz
thanks