Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pop Up Window Options..


milesdavis

Recommended Posts

Posted

Hello all,

 

I'm working on a clothing store, where being able to see the details in each item is essential. Because of this, I create my product images at 400x600 pixels, and set my smaller images at 1/2 that. THis works very well, because the pop-ups are large enough to allow the user to see detail. My only question is, if a user is using a screen size of 800x600, a small part of the pop-up is cut off. Is it possible for me to add scrollbars to the image, or is there a contribution that will allow the pop-up to auto size to the browser?

 

thanks for any help!

 

md

Posted
Hello all,

 

I'm working on a clothing store, where being able to see the details in each item is essential. Because of this, I create my product images at 400x600 pixels, and set my smaller images at 1/2 that. THis works very well, because the pop-ups are large enough to allow the user to see detail. My only question is, if a user is using a screen size of 800x600, a small part of the pop-up is cut off. Is it possible for me to add scrollbars to the image, or is there a contribution that will allow the pop-up to auto size to the browser?

 

thanks for any help!

 

md

 

 

edit...

 

includes/javascript/popup_window.js

 

in it you will see...

 

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res

izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le

ft=150')

 

 

change the scrollbars=no TO scrollbars=yes

 

That should give your popups a scroll bar...

 

Mike

  • 2 weeks later...

Archived

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

×
×
  • Create New...