![]() ![]() Occurs when the carousel has finished sliding from one item to anotherĪdd within each to create a caption for each slide: Occurs when the carousel is about to slide from one item to another The following table lists all available carousel events. Goes to a specified item (zero-based: first item is 0, second item is 1, etc.) Stops the carousel from going through items Goes through the carousel items from left to right MethodĪctivates the carousel with an option. The following table lists all available carousel methods. ![]() Specifies whether the carousel should go through all slides continuously, or stop at the last slide Note: Set pause to false to stop the ability to pause on hover Pauses the carousel from going through the next slide when the mouse pointer enters the carousel, and resumes the sliding when the mouse pointer leaves the carousel Note: Set interval to false to stop the items from automatically sliding Specifies the delay (in milliseconds) between each slide. For data attributes,Īppend the option name to data-, as in data-interval="". Options can be passed via data attributes or JavaScript. The data-slide attribute accepts two values: prev or The data-slide and data-slide-to attributes specifies which slide to go to. The data-ride="carousel" attribute activates the carousel. This is often used instead of a glyphiconĪdds a left button to the carousel, which allows the user to go back between the slidesĪdds a right button to the carousel, which allows the user to go forward between the slides Unicode icon (arrow pointing left), used in carousels. This is often used instead of a glyphicon Unicode icon (arrow pointing right), used in carousels. These are the little dots at the bottom of each slide (which indicates how many slides there are in the carousel, and which slide the user are currently viewing) Remove this class if you do not want this effectĪdds indicators for the carousel. Note: Carousels are not supported properly in Internet Explorer 9 andĮarlier (because they use CSS3 transitions and animations to achieve the slide effect).Īdds a CSS transition and animation effect when sliding from one item to the next. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |