Hello everyone, I'm sorry if there is already a topic about it, I checked it quickly, haven't found one. Last time, I tried to add the module UI > Media > Simple Slider, but the button "Next" and "Previous" were not working. I have checked quickly the JS file, which is :
$(function(){
// Initializing the swiper plugin for the slider.
// Read more here: http://idangero.us/swiper/api/
var mySwiper = new Swiper ('.swiper-container', {
loop: true,
pagination: '.swiper-pagination',
paginationClickable: true,
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev'
});
});
It seems that "nextButton" and "prevButton" doesn't exist anymore in the last version of Slider. If you had the same problem as me, you have to change your JS file like this :
$(function(){
// Initializing the swiper plugin for the slider.
// Read more here: http://idangero.us/swiper/api/
var mySwiper = new Swiper ('.swiper-container', {
loop: true,
pagination: '.swiper-pagination',
paginationClickable: true,
navigation:
{
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
}
//nextButton: '.swiper-button-next',
//prevButton: '.swiper-button-prev'
});
});
Hope it can help, and maybe developers can fix it in the global version of BS ?
Best regards