Okay
  Public Ticket #757882
Randomize Team Carousel
Closed

Comments

  • Michael started the conversation

    Hey there!
    I'm handling a pretty big team here. Is it possible to randomize the order of the team members in the carousel so that on each page load another bunch of people would be displayed first?

  •  1,973
    Support replied

    Although I see it's a good idea I'm not sure if it's possible

    the caroufredsel options are described here:

    https://dev7studios.com/caroufredsel-old/configuration.php

    and is initialized in /js/scripts.js

    if( jQuery('.our-team-new').length > 0 ){

    jQuery('.our-team-new').carouFredSel({
    width: '100%',
    height: 'auto',
    prev: '#prev3',
    next: '#next3',
    align: "center",
    scroll: 1,
    auto: false,
    visible: {
    min: 1,
    max: 5
    }
    });

    }

    line 352

    Hope it helps, thanks


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Michael replied

    In case anyone beside me will ever need this feature as well:

    jQuery('.our-team-new').carouFredSel({
    width: '100%',
    height: 'auto',
    prev: '#prev3',
    next: '#next3',
    align: "center",
    scroll: { items:1, duration: 1500, pauseOnHover: true },
    auto: true,
    visible: { min: 1, max: 5 },
    items: { start: "random" }
    });

    Have a great day!

  •  1,973
    Support replied

    Nice, excellent! thanks for sharing.

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy