Page 1 of 1

jQuery Lightbox not working

Posted: Thu Jan 14, 2016 11:53 pm
by uwe_kwigx
Hello,
i just downloaded Lightbox and created a new folder in my "jquery" folder (which already existed because of some other scripts).

Its located in "catalog/view/javascript/jquery/lightbox"

I then downloaded the header.tpl from "catalog/view/theme/default/template/common" and pasted this line

Code: Select all

<link href="catalog/view/javascript/jquery/lightbox/dist/css/lightbox.css" rel="stylesheet">
between </div> and <?php } ?> as the second last row. Its in <body> tag.

And the other one

Code: Select all

<script src="catalog/view/javascript/jquery/lightbox/dist/js/lightbox.js"></script>
right under some other <script> and <link> where also <script src="catalog/view/javascript/jquery/jquery-2.1.1.min.js" type="text/javascript"></script> was located. Its in the <head> tag.

I then uploaded everything and i cannot get it working with the given code

Code: Select all

<a href="images/image-1.jpg" data-lightbox="image-1" data-title="My caption">Image #1</a>
Any ideas?

Re: jQuery Lightbox not working

Posted: Fri Jan 15, 2016 12:04 am
by viethemes
Could you provide your site URL, so we can take a look at the problem closer?

Re: jQuery Lightbox not working

Posted: Fri Jan 15, 2016 12:07 am
by uwe_kwigx
viethemes wrote:Could you provide your site URL, so we can take a look at the problem closer?
It's http://www.kwigx.com/test

Re: jQuery Lightbox not working

Posted: Fri Jan 15, 2016 4:32 pm
by uwe_kwigx
push :-[