Guest Posted October 5, 2009 Posted October 5, 2009 Hi I'm a total newbie to php but the file reads as if the window should open to the size of the image but my 600x450 pixel images appear scaled down and cut off at the bottom, is there an easy way to fix this?
peter222 Posted October 5, 2009 Posted October 5, 2009 in popup_image.php, find: if (navigator.appName == 'Netscape') i=40; if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-i); change to; if (navigator.appName == 'Netscape') i=15; if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+100-i);
Recommended Posts
Archived
This topic is now archived and is closed to further replies.