From 12a0d69454a2831031035d19237d36d38bb2c2a9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 21 Dec 2011 18:38:03 -0600 Subject: fix dropdowns in components docs page --- docs/javascript.html | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 568991969..91fe94910 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -26,17 +26,6 @@ - - - @@ -147,7 +136,7 @@ bootstrap-popover.js - The popover plugin provides a simple interface for adding popovers to your application. It extends the boostrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project! + The popover plugin provides a simple interface for adding popovers to your application. It extends the bootstrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project! bootstrap-button.js @@ -306,7 +295,7 @@ $('#myModal').bind('hidden', function () { Download
-

Using boostrap-dropdown.js

+

Using bootstrap-dropdown.js

$('.dropdown-toggle').dropdown()

Markup

To quickly add dropdown functionality to any element just add data-toggle="dropdown". Any valid bootstrap dropdown will automatically be activated.

@@ -380,7 +369,7 @@ $('#myModal').bind('hidden', function () { Download
-

Using boostrap-scrollspy.js

+

Using bootstrap-scrollspy.js

$('#navbar').dropdown()

Markup

To easily add scrollspy behavior to your topbar navigation, just add data-spy="scroll" to the element you want to spy on (most typically this would be the body). @@ -454,7 +443,7 @@ $('#myModal').bind('hidden', function () { Download

-

Using boostrap-tab.js

+

Using bootstrap-tab.js

$('#myTab').tab('show')

Markup

You can activate a tab or pill navigation without writing any javascript by simply specifying data-toggle="tab" or data-toggle="pill" on an element.

@@ -651,11 +640,11 @@ $('a[data-toggle="tab"]').bind('shown', function (e) {
-

The popover plugin provides a simple interface for adding popovers to your application. It extends the boostrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project!

+

The popover plugin provides a simple interface for adding popovers to your application. It extends the bootstrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project!

Download
-

Using boostrap-popover.js

+

Using bootstrap-popover.js

$('#example').popover(options)

Options

-- cgit v1.2.3