From: Chris Rebert Date: Mon, 30 Jun 2014 04:16:44 +0000 (-0700) Subject: doc that you can't use both data-ride and $().carousel() on the same carousel; fixes... X-Git-Tag: v3.3.0~421^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dfad4f1addd50a066d28ca605f14d4dc9a2b82f;p=thirdparty%2Fbootstrap.git doc that you can't use both data-ride and $().carousel() on the same carousel; fixes #13896 [skip sauce] --- diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index b8a0d1e4ba..222caf333c 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -132,7 +132,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: