Интеграция baguetteBox.js для просмотра изображений во вспывающем окне
This commit is contained in:
7
themes/tabi/static/js/baguetteBox.min.js
vendored
Normal file
7
themes/tabi/static/js/baguetteBox.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -41,6 +41,15 @@ This variable will hold all the text strings for the language #}
|
||||
{% endblock main_content %}
|
||||
</div>
|
||||
{% include "partials/footer.html" %}
|
||||
|
||||
<!-- baguetteBox JS -->
|
||||
<script defer src="{{ get_url(path='js/baguetteBox.min.js', trailing_slash=false) | safe }}"></script>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
baguetteBox.run('.gallery');
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user