Multi Item Carousel (1 by 1) starting to soon and pause butt


Topic: Multi Item Carousel (1 by 1) starting to soon and pause button

twentyfour pro asked 5 years ago

Expected behavior Start the carousel and pause on the first item for a few seconds.

Actual behavior As soon as the carousel starts, it slides to the next item. That way the first slide is visible for only half a second.

Resources (screenshots, code snippets etc.) I'm using the standard code from the website, both HTML as Javascript. The only thing I do is wrapping everything up in a Javascript setTimeOut-function. But I even tried without that extra code and the same issue happens.

Bonus: does anyone has the code to add a pause/unpause button to the multi-item-slider?

kind regards.


Marta Szymanska staff pro premium answered 5 years ago

Hi,

would you create a snippet showing your code where you try to implement this here: https://mdbootstrap.com/snippets/. I'll try to help you with your code.

Best, Marta


twentyfour pro commented 5 years ago

Hi Marta,

nice to hear - thanks for the help. The code can be found on:

https://mdbootstrap.com/snippets/jquery/twentyfour/959097


Marta Szymanska staff pro premium commented 5 years ago

Hi,

try this code: https://mdbootstrap.com/snippets/jquery/marta-szymanska/964023.

Best, Marta


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.5
  • Device: iMac
  • Browser: Chrome
  • OS: osX
  • Provided sample code: No
  • Provided link: No