Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Popup Image Scrollable?


comicsigotem

Recommended Posts

Posted

Hey Jonathan,

 

Open catalog/product_info.php

 

Look around line 27 to 31, you should see this bit of code:

 

<script language="javascript"><!--

function popupWindow(url) {

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=517,height=339,screenX=150,screenY=150,top=1

50,left=150')

}

//--></script>

 

Just change the scrollbars=no to scrollbars=yes.

 

NOTE: The numbers in my code will be different than yours as I believe I changed them.

Quick guestion...

Why not set the popup window to the image size?

That way there's no need for scrolling or resizing the window. As a visitor that's a pain, I know I prefer the entire image to show. Just my two cents and something to think about. ;)

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Posted
Quick guestion...

Why not set the popup window to the image size?

How would you do that with images with different sizes? :unsure:

Archived

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

×
×
  • Create New...