Twitter Bootstrap Carousel autoplay on load

前端 未结 10 1020
天命终不由人
天命终不由人 2021-02-07 03:15

Using the twitter bootstrap framework, how is it possible to invoke the carousel to \'auto slide.\' Meaning when the page loads, the carousel automatically scrolls.

I ha

10条回答
  •  不思量自难忘°
    2021-02-07 04:06

    You can use the data-interval attribute on the html markup to auto play:

    data-interval: The amount of time in milliseconds to delay between automatically cycling an item. If false, carousel will not automatically cycle.

提交回复
热议问题