Z
zhengyan11
Hey, Guys,
I am working on a pop up window, which should get an image
exactly fit in. And this is part of my JS method:
earchWindow=window.open(img,'searchWindow','toolbar=no,width='+w
+',height='+h);
searchWindow.document.write('<html><head><title>'+imgTitle+'<\/
title><\/head><body background="'+img+'"><\/body><\/html>');
searchWindow.resizeBy(w-searchWindow.document.body.clientWidth,h-
searchWindow.document.body.clientHeight);
but it seems that resizeBy doesnot work in IE7. I got a pop up
window with desire height but a bigger width. Anyone could help me out
of this? I have to work with IE7.
thank you
I am working on a pop up window, which should get an image
exactly fit in. And this is part of my JS method:
earchWindow=window.open(img,'searchWindow','toolbar=no,width='+w
+',height='+h);
searchWindow.document.write('<html><head><title>'+imgTitle+'<\/
title><\/head><body background="'+img+'"><\/body><\/html>');
searchWindow.resizeBy(w-searchWindow.document.body.clientWidth,h-
searchWindow.document.body.clientHeight);
but it seems that resizeBy doesnot work in IE7. I got a pop up
window with desire height but a bigger width. Anyone could help me out
of this? I have to work with IE7.
thank you