Bootstrap implements the carousel Image Effect Based on the javasusel. js framework, and bootstrap implements the carousel Image

Source: Internet
Author: User
Tags bootstrap carousel

Bootstrap implements the carousel Image Effect Based on the javasusel. js framework, and bootstrap implements the carousel Image

The examples in this article share the code for displaying the Bootstrap carousel image effects for your reference. The details are as follows:

Several data-* attributes required for declarative triggering

1. data-ride: acts on the outermost container. fixed value: cancusel
2. data-target: this parameter is used on the li of each sub-element of class = carousel-indicators, and is used to mark that element for click carousel.
3. data-slide: it applies to the two a links on the previous and back pages. prev indicates the front pages and next indicates the back pages.
4. data-slide-to: indicates the subscript of the animation frame corresponding to the corresponding li element on each sub-element li of class = carousel-indicators, starting from 0.
5. data-interval: the waiting time for automatic Carousel of a slideshow. If it is set to false, automatic carousel is disabled. The default value is 5000 ms.
6. data-pause
7. data-wrap: Specifies whether continuous carousel is enabled.

Code Implementation of carousel images:

<! Doctype html> 

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.