Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

popup_image.hp size?


Guest

Recommended Posts

Posted

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?

Posted

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);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...