matthew_scullion Posted December 5, 2006 Posted December 5, 2006 Hi, I would like to change the 'Click to Enlarge' function to make it open a slightly larger box. My product images are 300x300 pixels and the bottom always gets cut off. I have edited the JavaScript at the top of the product_info.php file, to read: function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=yes,copyhistory=no,width=300,height=450,screenX=150,screenY=150,top=150,le ft=150') } This seems to open a larger box momentarily but as soon as the image loads it shrinks again to cut the bottom of the image off. Any help much appreicated. You can see the site at http://www.yourlightsource.co.uk (and there are completed products in the 'Contemporary Interior Lighting' category). Thanks in advance.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.