Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Popup attributes


benjaminlwells

Recommended Posts

Posted

Hey all,

 

I've been trying to change the attributes of the product image popup window; namely the dimensions. I know that the line:

 

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

is being generated from somewhere, but can't figure out from where. Basically I want to change the height and width of the default window size.

 

Thanks!

 

Ben

Posted
Hey all,

 

I've been trying to change the attributes of the product image popup window; namely the dimensions. I know that the line:

 

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

is being generated from somewhere, but can't figure out from where. Basically I want to change the height and width of the default window size.

 

Thanks!

 

Ben

 

hi,

 

well the first try should be for the file that calls the popup .... which is product_info.php ... and voil? :thumbsup:

 

line 27 +

 

<script language="javascript"><!--
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=100,height=100,screenX=150,screenY=150,top=150,le
ft=150')
}
//--></script>

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
hi,

 

well the first try should be for the file that calls the popup .... which is product_info.php ... and voil? :thumbsup:

 

line 27 +

 

<script language="javascript"><!--
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=100,height=100,screenX=150,screenY=150,top=150,le
ft=150')
}
//--></script>

 

 

Thanks Monkika! I don't know how I missed that, I think I've been stearing at it for too long

 

Ben

Archived

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

×
×
  • Create New...