Is there any way to init the slider programmatically?
-
I love the SA sliders for our WordPress website, but would like to re-use the slider in the self programmed parts of our website. So I’m looking for a CSS class that will init the slider. If I’m not mistaken the plugin runs on Owl carrousel, so i’m looking for the ‘.owl-carousel’ equivalent from the example below (from the documentation of owl-caroussel).
$(document).ready(function(){
$(“.owl-carousel”).owlCarousel();
});This way I wouldn’t have to load another slider JS file and keep my website nice and fast. Thanks a lot in advance!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Is there any way to init the slider programmatically?’ is closed to new replies.