From 0f3a073b8dca534e78c09b71999d5a2632e2245d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 30 Jan 2012 21:15:57 -0800 Subject: *really* refactor the buttons and update them all over the docs --- docs/javascript.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 4297fe652..2789198e6 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -214,7 +214,7 @@

One fine body…

@@ -239,11 +239,11 @@

This link and that link should have tooltips on hover.

- Launch demo modal + Launch demo modal
@@ -292,7 +292,7 @@ <p>One fine body…</p> </div> <div class="modal-footer"> - <a href="#" class="btn primary">Save changes</a> + <a href="#" class="btn btn-primary">Save changes</a> <a href="#" class="btn">Close</a> </div> </div> @@ -802,7 +802,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

Example hover popover

Hover over the button to trigger the popover.

- hover for popover + hover for popover

Using bootstrap-popover.js

@@ -917,7 +917,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

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.

- Take this action Or do this + Take this action Or do this


@@ -983,7 +983,7 @@ $('#my-alert').bind('closed', function () { Stateful - @@ -991,16 +991,16 @@ $('#my-alert').bind('closed', function () { Single toggle - + Checkbox
- - - + + +
@@ -1008,9 +1008,9 @@ $('#my-alert').bind('closed', function () { Radio
- - - + + +
@@ -1158,7 +1158,7 @@ $('#my-alert').bind('closed', function () {

Markup

Just add data-toggle="collapse" and a data-target to element to automatically assign control of a collapsible element. The data-target attribute accepts a css selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you'd like it to default open, add the additional class in.

-<button class="btn danger" data-toggle="collapse" data-target="#demo">
+<button class="btn btn-danger" data-toggle="collapse" data-target="#demo">
   simple collapsible
 </button>
 
-- 
cgit v1.2.3