I read posts whree others had this problem. The larger image link pops up a window that cuts off the bottom of the image. I just want the larger image link to pop up my image unchanged... no resizing, etc...
thanks,
brian
I read posts whree others had this problem. The larger image link pops up a window that cuts off the bottom of the image. I just want the larger image link to pop up my image unchanged... no resizing, etc...
thanks,
brian
The popup window code for the larger images is a javascript function that is in the file;
includes -> modules -> pages -> product_info -> jscript_main.php
You can adjust the properties for the popupWindow Function...
This is a core file (i dont beleive it can be overidden) so keep a backup!
hope this helps...
good info. thanks.
I noticed this started occurring when firefox 3.0 was released.
You can see the problem here:
www.tacpsteins.com
I tried editing that file and didn't notice a difference. Also tried editing the same file but in the image_popup folder.
Just can't seem to get this working... Any help is appreciated.
thanks,
brian
This is the only mod I have used to change the popup window..
includes -> modules -> pages -> product_info -> jscript_main.php
function popupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=550,height=600,scree nX=0,screenY=0,top=50,left=50')
}
some browsers block javascript....firefox can limit some javascript functions like window resizing....etc...
I have the same problem...
I changed the same line of code, but some of the changes don't have any effect while others do.
e.g. scrollbar=yes does the job, but somehow the size of the window is "overruled" somehow. If I change e.g. the width and heigth and click on "larger image", a very short time a window appears of the right side (with noting in it yet) but this changes almost immediately in the "original" format.
I noticed that in the original code the width and heigth are both set to 100 which is also not the size of the resulting window.
the original code was:
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screen X=150,screenY=150,top=150,left=150')
which is much smaller than the standard window that shows when you don't change anything
Is there somehow an adaption being made? and if so, where can this be changed?
and as addition...
this happens both in IE and in FF
my IE works as it should.... opens the window with the settings using that function...
my firefox also uses the same settings and opens up a window...
BUT
when the new window is generated, there is a new function resize() which is executed,
that is defined in includes - modules - pages - popup_image - jscript_main.php that resizes the window..
(my ie allows this resize, but my firefox does not)
hope this helps..
~Steve~