Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Dueling "jscript_main.php" popup browser control

Dueling "jscript_main.php" popup browser control

Locked

Views: 1,275

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
1 Jun 2007, 5:26 PM
#1
charvan avatar

charvan

New Zenner

Join Date:
Jun 2007
Posts:
1
Plugin Contributions:
0

Dueling "jscript_main.php" popup browser control

Hi. Thanks for your time. Sharing info and asking a question.

There are two "jscript_main.php" files that control popup windows.

".../includes/modules/pages/product_info/jscript_main.php"

and

".../includes/modules/pages/popup_image/jscript_main.php"

Tried to geting product_info to stop giving me an extra hundred pixels under the image of the popup window. I could affect other aspects of the window, just not the size. Which let me to popup_image. It appears that the **popup_image **version was meant to compensate for browser inconsistencies with sizing of popups.

So I altered the "i=..." on line 26 from "80" to "1" on popup_image

" } else {
i=1; //This is all other browsers including Mozilla on Linux"

So far, cross browser testing results are good and the extra 100 pixels is gone.

Are any known repercussions that I am missing. None of the previous popup image threads covered this that I could find and I hope to flush some more details out of mods and more experienced users as well as help anyone else that might be having the same problem I did.

Cheers!