progress
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user