Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • mani.singh Friend
    #976134

    How can i enable autoplay in slideshow in megastore.

    Thanks

    Ninja Lead Moderator
    #977383

    Hi,

    You can edit a little bit in this: templates/ja_megastore/acm/slideshow/tmpl/style-owl.php file

    find and change

    jQuery(document).ready(function($) {
      $("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
        items: 1,
        singleItem : true,
        itemsScaleUp : true,
        navigation : true,
        navigationText : ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
        pagination: true,
        paginationNumbers : true,
        merge: false,
        mergeFit: true,
        slideBy: 1,
        autoPlay: false
      });
    });

    to

    jQuery(document).ready(function($) {
      $("#acm-slideshow-<?php echo $module->id; ?> .owl-carousel").owlCarousel({
        items: 1,
        singleItem : true,
        itemsScaleUp : true,
        navigation : true,
        navigationText : ["<i class='fa fa-angle-left'></i>", "<i class='fa fa-angle-right'></i>"],
        pagination: true,
        paginationNumbers : true,
        merge: false,
        mergeFit: true,
        slideBy: 1,
        autoPlay: true,
        loop: true,
      autoPlaySpeed: 5000,
      autoPlayTimeout: 5000,
      autoplayHoverPause: true
      });
    });

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Ninja Lead 8 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum