Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Code Problem afer adding back button to page


myideal

Recommended Posts

Hi,

 

I have just added a back button to the product_info.php page like it shows you to do on the oscommerc.einfo site - however I now have a javascript error and ive lost all my images aswell - can anyone help please.

 

You can see what I mean by visiting the following page

 

http://shop.my-ideal.com/product_info.php?...&products_id=35

 

Thanks in advance for your help.

Link to comment
Share on other sites

There are backslashes missing in your javascript - should be:

 

document.write('<a href="javascript:popupWindow(\'http://shop.my-ideal.com/popup_image.php?pID=35\')"><img src="images/ss40.jpg" border="0" alt="Signed & Sealed Fishing Mug" title=" Signed & Sealed Fishing Mug " width="85.271317829457" height="100" hspace="5" vspace="5"><br>Click to enlarge</a>');

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...