In the layout, sometimes such tasks will be in which a lot of different sliders on the same page. When you connect a lot of jquery, js-codes and gives an error. Is there a solution for this case or some kind of chips? If someone had such cases, can you share? I would be grateful, Thanks in advance
1 answer
I use "owl carousel", there simply when creating a new carousel, you make a new object with the name you need (class, ID). Example:
$('.owl-carousel-clients').owlCarousel({ loop:true, margin:18, center: true, nav: false, items:1, dots:true }); You do as many as you like, won't swear
- Thanks for the answer. And with styles how to handle? if styles are cured of each other. - MR.Aki
- Well, the class is the same wrapper of the carousel itself, depending on the class and you give different styles to one or another element inside - MoJlo4HuK
- Thank you very much - MR.Aki
|