benjaminlwells Posted March 19, 2006 Posted March 19, 2006 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
♥Monika in Germany Posted March 19, 2006 Posted March 19, 2006 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 ...
benjaminlwells Posted March 19, 2006 Author Posted March 19, 2006 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.