F
F
finaldream2013-04-18 19:35:29
JavaScript
finaldream, 2013-04-18 19:35:29

jQuery, Bootstrap, Lightbox2. Problem connecting script?

Given: esqulap.ru/ there is a slider on the main page. You need to connect the Lightbox2 script to it. During the fact that the site was created on Bootstrap, there are problems in the work of JS, namely: the picture opens in a new window, and not using Lightbox2.
lokeshdhakar.com/projects/lightbox2/

Please help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maeln0r, 2013-04-18
@maeln0r

hmm, everything works for me.

<a href="source/slider-1.jpg" rel="lightbox"><img class="img-slider img-circle" alt="" src="source/slider-1.jpg"></a>
<a href="source/slider-1.jpg" rel="lightbox"><img class="img-slider img-circle" alt="" src="source/slider-2.jpg"></a>
<a href="source/slider-1.jpg" rel="lightbox"><img class="img-slider img-circle" alt="" src="source/slider-3.jpg"></a>
<a href="source/slider-1.jpg" rel="lightbox"><img class="img-slider img-circle" alt="" src="source/slider-4.jpg"></a>

Well, we connect all the persimmon
<link rel="stylesheet" href="/css/lightbox.css">
<script src="/jquery-l.js"></script>
<script src="/js/lightbox.js"></script>
<script src="/js/jquery.smooth-scroll.min.js"></script>
<script src="/js/jquery-ui-1.8.18.custom.min.js"></script>
<script src="/bootstra.js"></script>

jQuery is first in the include, bootstrap last if it conflicts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question