Answer the question
In order to leave comments, you need to log in
Bootstrap lightbox opens in new window instead of box, why?
I downloaded the lightbox library from here , connected js and css, pasted through data-toggle="lightbox" but opened in a new window.
<tr>
<th scope="row"><a data-toggle="lightbox" href="img\osnastka\4642.jpg"><img src="img\osnastka\4642.jpg" class="img-fluid" alt="Автоматическая печать 40 мм."> </a></th>
<td>Trodat (Австрия) 4642</td>
<td>40 мм.</td>
<td class="success">600 руб.</td>
</tr>
// We depend upon Twitter Bootstrap's Modal library to simplify things here
Lightbox.prototype = $.extend({},$.fn.modal.Constructor.prototype);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question