Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC and Firefox


bobg7

Recommended Posts

Posted

I noticed that when I click to enlarge a product in IE it pops up to the same size as the full size image, but in Firefox, all the images are smaller and part of some of the images are cutofff.

 

I was wondering if anyone else has noticed this or what file I need to edit to add a scroll bar or something like to let Firefox customers get the full image.

 

Thanks in advance.

 

Bob G.

Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.

Posted

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

 

change scrollbars=no to scrollbars=yes or same for resize etc.

you can also change the width, height ans position.

 

you may also want to take a look at catalog/popup_image.php

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Thanks for the quick reply, here is what I wound up doing:

 

In /catalog/popup_image.php

 

Changed from:

 

<script language="javascript"><!--

var i=0;

function resize() {

  if (navigator.appName == 'Netscape') i=40;

  if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+60-i);

  self.focus();

}

//--></script>

 

To:

 

<script language="javascript"><!--

var i=0;

function resize() {

  if (navigator.appName == 'Netscape') i=40;

  if (document.images[0]) window.resizeTo(document.images[0].width +40, document.images[0].height+120-i);

  self.focus();

}

//--></script>

 

This seems to have resolved it.

 

Thanks again,

 

Bob G.

Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.

Archived

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

×
×
  • Create New...