Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

popup wont work in shop


inick

Recommended Posts

Posted

Hi,

 

I never could have the big image to popup.

 

So i have change the system to use big_images 1.25 - 2.2MS2.

but to no avail, the popup still doesnt pop in the shop but work in the admin.

 

any idea ?

Posted

which version of STS are you using? and are you using the sts_template.html in the includes directory (i.e. the default template file)? or the sts_template.html in the includes/sts_templates directory? it just looks like you're not calling the javascript which includes the

 

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

Posted
which version of STS are you using? and are you using the sts_template.html in the includes directory (i.e. the default template file)? or the sts_template.html in the includes/sts_templates directory?  it just looks like you're not calling the javascript which includes the

 

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

 

Simple Template System (STS) v1.2

 

I have check the javascript, its not in the template. should it be ?

if yes can you give me the exact code to put there. im not bad but im no javascript hero : ))

Posted

Apparently it's a common problem in the older sts. If you upgrade it should take care of it. I'm not exactly sure where the script is, it shouldn't actually be in your sts_template.html file, but somewhere else. I'll look for it. Or maybe someone else knows, but that seems to be the problem, Javascript error("object expected") but it's not there.

Archived

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

×
×
  • Create New...