Answer the question
In order to leave comments, you need to log in
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
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>
<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>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question