From: Chris Rebert Date: Sat, 27 Sep 2014 01:20:51 +0000 (-0700) Subject: Port #13988 over to hosted docs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99c1c37cd9b4e22247d0f834649e4120044ff0ec;p=thirdparty%2Fbootstrap.git Port #13988 over to hosted docs --- diff --git a/javascript/index.html b/javascript/index.html index a4227b49e5..2929d3586f 100644 --- a/javascript/index.html +++ b/javascript/index.html @@ -2014,7 +2014,7 @@

Via data attributes

Use data attributes to easily control the position of the carousel. data-slide accepts the keywords prev or next, which alters the slide position relative to its current position. Alternatively, use data-slide-to to pass a raw slide index to the carousel data-slide-to="2", which shifts the slide position to a particular index beginning with 0.

-

The data-ride="carousel" attribute is used to mark a carousel as animating starting at page load.

+

The data-ride="carousel" attribute is used to mark a carousel as animating starting at page load. It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.

Via JavaScript

Call carousel manually with: