This commit is contained in:
2025-02-10 01:58:12 +02:00
parent 25d99e7b72
commit 87bbfc33d3
242 changed files with 38662 additions and 99 deletions
+57
View File
@@ -2,6 +2,63 @@ import './bootstrap';
import './star_rating';
import $ from 'jquery';
import Lightbox from "bs5-lightbox";
import './OwlCarousel2-2.3.4/dist/owl.carousel';
$('.show-slider').owlCarousel({
loop:true,
margin:10,
nav:true,
items: 7
});
$('.similar-show-slider').owlCarousel({
loop:true,
margin:10,
nav:true,
items: 7
});
// tns({
// container: '.show-slider',
// items: 7,
// slideBy: 'page',
// controlsText: ["↼ ", "⇁"],
// nav: false
// });
// tns({
// container: '.similar-show-slider',
// items: 6,
// slideBy: 'page',
// controlsText: ["↼ ", "⇁"],
// nav: false,
// nextButton: false,
// prevButton: false,
// });
//
// tns({
// container: '.recommended-show-slider',
// items: 6,
// slideBy: 'page',
// controlsText: ["↼ ", "⇁"],
// nav: false,
// nextButton: false,
// prevButton: false,
// });
const options = {
keyboard: true,
size: 'fullscreen'
};
document.querySelectorAll('.lightbox-toggle').forEach((el) => el.addEventListener('click', (e) => {
e.preventDefault();
const lightbox = new Lightbox(el, options);
lightbox.show();
}));
$(".my-rating").starRating({
starSize: 20,