Carousel with dynamic min/max ranges

Created on 16 January 2015, about 10 years ago
Updated 26 February 2023, about 2 years ago

I see is possible to define custom conditions for min/max visible carousel items, as described in the official documentation.

For example I would like my slideshow (built using Views with Flexslider format) to show 1 or 3 items, not 1 to 3 (ie. not 2 and not 1 and some or 2 and some), based on the window width.
So that small devices would see a slideshow of 3 slides, bigger devices would see the 3 items without any animation.

Setting min items = 1 and max items = 3 in configuration will output 1 to 3 items depending on the item width in pixels I set.
Being the width fixed, this will of course create a bad output on many tablets and resized windows on desktops, that will see more than 1 slide, 2 slides, less than 3 slides, with stupid movements in between.

Is there a way to do this?

PS: I am not experienced with adding custom javascript/jquery to Drupal.

💬 Support request
Status

Closed: won't fix

Component

Documentation

Created by

🇮🇹Italy kopeboy Milan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.71.5 2024