Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting java script error - "Click to Enlarge"


LanceC

Recommended Posts

When viewing a product and trying to click on the "Click to Enlarge" link below the thumbnail image (or the image itself) I get a java script error.

 

Here's a screen shot of the error:

ss1.gif

 

So what went wrong, and where? :blink:

 

Thanks!

Lance

Link to comment
Share on other sites

Your source code is missing this (which should be placed between the <head></head> tags)

 

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

 

You may want to change some of the settings.

Link to comment
Share on other sites

I have a similar problem with the difference that the javascript is for a

fact intact.

 

There's been modifications done in the code at product_info.php though to

get the price to show as I want it to, but that piece of code isn't even close

to the javascript.

 

The store is located at PrintzX

 

I would appreciate if someone could please take a peek for me.

 

 

C.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...