From 0add7700adc3ccdef68b7a88ec3537b5e523bf9a Mon Sep 17 00:00:00 2001 From: Kevin Suttle Date: Sat, 24 Aug 2013 11:16:08 -0400 Subject: Add role="button" to buttons These should really be

Oh snap! You got an error!

Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.

-- cgit v1.2.3 From 79efeec874eda0042b4da1520b418005776466c2 Mon Sep 17 00:00:00 2001 From: Andreas Jendrzey Date: Sun, 25 Aug 2013 10:36:53 +0200 Subject: correct enable selector for button usage following the given examples the correct selector to enable the buttons with javascript is ".btn-group". --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index 6a0807952..ee3b4d7b0 100644 --- a/javascript.html +++ b/javascript.html @@ -1358,7 +1358,7 @@ $('#my-alert').bind('closed.bs.alert', function () {

Usage

Enable buttons via JavaScript:

{% highlight js %} -$('.nav-tabs').button() +$('.btn-group').button() {% endhighlight %}

Markup

-- cgit v1.2.3 From 92bb465ba3a33dd53f61e01aad97abf10e4f7166 Mon Sep 17 00:00:00 2001 From: Ben Combee Date: Sun, 25 Aug 2013 14:49:15 -0500 Subject: javascript.html: add data-ride note carousel docs were missing mention of the data-ride attribute used to automatically start the carousel at load time --- javascript.html | 1 + 1 file changed, 1 insertion(+) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index 6a0807952..4d3d08800 100644 --- a/javascript.html +++ b/javascript.html @@ -1756,6 +1756,7 @@ $('#myCollapsible').on('hidden.bs.collapse', function () {

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.

Via JavaScript

Call carousel manually with:

-- cgit v1.2.3 From 2970653bdc745d2caab512bf32e51d6a29e51cc2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 26 Aug 2013 18:19:31 -0700 Subject: Fixes #10016 and updates that rather badly formatted callout --- javascript.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index 4d3d08800..bb08a9556 100644 --- a/javascript.html +++ b/javascript.html @@ -205,7 +205,7 @@ $('#myModal').on('show.bs.modal', function (e) {