Close

Account

Documentation

Forum

Menu

Client slider auto play

  • Post count: 8
    swisskud
    July 31, 2014 at 1:51 pm #2368

    Hi,

    How can i enable Autoplay to client slider ?
    For example Set AutoPlay to 5 seconds.
    I try to change /public/js/internal/jquery.jlanding.js in line 511 to 524 :


    var clientslider = function () {
    if ($(".clientslider", element).length) {
    $(".clientslider", element).each(function () {
    var number = $(this).data('number') ? $(this).data('number') : 4;
    $(this).owlCarousel({
    // Set autoPlay to 5 seconds
    autoPlay: 5000,
    items: number,
    autoHeight: true,
    itemsDesktop: [1199, 3],
    itemsDesktopSmall: [979, 3]
    });
    });
    }
    };

    But nothing change ? Perhaps it’s because i use VC ?
    Could you help me 😉

    Post count: 2679
    Rai
    August 1, 2014 at 6:51 am #2390

    Hi @swisskud,

    Your modified script is right for enable auto play, but that file is not loaded. Please copy-paste your modified script into this file: /public/js/internalmin/jquery.jlanding.js

    Thank you

    Post count: 8
    swisskud
    September 14, 2015 at 9:35 pm #14395

    Hi,

    I’ve done last update to version 2.3.3, do i have to edit and change the same files as above to Set AutoPlay to 5 seconds for the client slider or is there any new option in B.O. for this ?
    Thank for your help.
    Regards

    note : i’m on WP 4.2.4.

    Post count: 9417
    Adek
    September 15, 2015 at 4:29 am #14416

    Hi swisskud,

    You will need to edit those file again. But if you wont to do this again in the future you can use child theme. You can visit our documentation about that here http://support.jegtheme.com/documentation/child-theme/

    Thank you

You must be logged in to reply to this topic.