HomeHome Product Discus... Product Discus...SmithCartSmithCartLight-box effect not workingLight-box effect not working
Previous
 
Next
New Post
3/15/2011 8:56 PM
 

I have just upgraded a client to 4.22 and the light-box effect no longer works. I have set it to use "image gallery and light box" in the ProductDetails settings.

I have tried to download the latest light-box files, just in case they have changed, but I get an ASP.Net error page on your site.

 
New Post
3/15/2011 11:05 PM
Accepted Answer 

Did you uncomment the following lines of code on ProductDetails.ascx?

<%--Lightbox Live Server--%>

<%--<link href="/css/lightbox.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="/js/prototype.js"></script>

<script type="text/javascript" src="/js/scriptaculous.js?load=effects,builder"></script>

<script type="text/javascript" src="/js/lightbox.js"></script>--%>

In order for the lightbox to work, you need to uncomment the code so it looks like this:

<%--Lightbox Live Server--%>

<link href="/css/lightbox.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="/js/prototype.js"></script>

<script type="text/javascript" src="/js/scriptaculous.js?load=effects,builder"></script>

<script type="text/javascript" src="/js/lightbox.js"></script>

Thanks,

Christian

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartLight-box effect not workingLight-box effect not working