Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Click to enlarge doesn't work


Angelstore

Recommended Posts

Posted

First, thanks to all who have contributed to OSCommerce. I have been working with it for about two weeks and have been able to solve most problems with the posts and contributions, but this one has me stumped.

 

I get the error message: object expected, http://www.austinsangelstore/online-store/...&products_id=54, and the enlarged picture doesn't show. I have checked the code in product_info.php and as far as I can tell, it is correct. I am using easypopulate & dynamic_MoPics, but the enlarge function didn't work before I installed them.

 

The site isn't finished by a long shot, but I can't seem to get past this problem. Any suggestions of what to do or where to look?

 

Thanks,

 

Angelstore

Posted
Hi, check this out, you have a same problem:

Image problem too.

 

I posted answer there just few minutes ago.  B)

 

-ppajukos-

 

Thanks for the response. I checked my product_info.php file and the code is there. Mine looks like this:

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

 

Only thing I can see different is the &39; that was in your example. Should I add that?

 

Angelstore

Posted
Thanks for the response.  I checked my product_info.php file and the code is there.  Mine looks like this:
<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>

 

Only thing I can see different is the &39; that was in your example.  Should I add that?

 

Angelstore

[right][post=513298]<{POST_SNAPBACK}>[/post][/right]

 

If you are using the sts template contribution you need to paste the javascript code directly into your sts_template.html file just before the </head> tag

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
If you are using the sts template contribution you need to paste the javascript code directly into your sts_template.html file just before the </head> tag

 

That did it! :D Thanks a bunch. I was just about ready to give up. Now if I can just get dynamic mopics working......

 

Angelstore

Archived

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

×
×
  • Create New...