From efbf8373a5060b2c9b4d97cdfd2c288124d339c6 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 16 Mar 2013 12:34:07 -0700 Subject: Use form elements in checkbox and radio button groups * Uses .btn on label elements with nested checkbox and radio controls within * Updated examples to reflect change in HTML and CSS * Had to add .active all buttons for proper state highlighting (mimicing the :active pseudo state) * Still needs JavaScript plugin updated by @fat --- docs/javascript.html | 48 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index bbf54b53a..e42444541 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1172,16 +1172,28 @@ $('#my-alert').bind('closed', function () {

Add data-toggle="buttons-checkbox" for checkbox style toggling on btn-group.

- - - + + +
{% highlight html linenos %}
- - - + + +
{% endhighlight %} @@ -1189,16 +1201,28 @@ $('#my-alert').bind('closed', function () {

Add data-toggle="buttons-radio" for radio style toggling on btn-group.

- - - + + +
{% highlight html linenos %}
- - - + + +
{% endhighlight %} -- cgit v1.2.3