From: Mark Otto Date: Thu, 22 Dec 2011 00:39:02 +0000 (-0600) Subject: Merge branch '2.0-wip' of github.com:twitter/bootstrap into 2.0-wip X-Git-Tag: v2.0.0~6^2~390 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fb380151d477f1741b7609ade7a9e7fd5450b2c;p=thirdparty%2Fbootstrap.git Merge branch '2.0-wip' of github.com:twitter/bootstrap into 2.0-wip Conflicts: bootstrap.css docs/javascript.html --- 9fb380151d477f1741b7609ade7a9e7fd5450b2c diff --cc bootstrap.css index 3fa776fcbb,612fe24bc7..354f534b28 --- a/bootstrap.css +++ b/bootstrap.css @@@ -6,7 -6,7 +6,7 @@@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Wed Dec 21 18:20:33 CST 2011 - * Date: Wed Dec 21 13:29:41 PST 2011 ++ * Date: Wed Dec 21 18:38:56 CST 2011 */ html, body { margin: 0; diff --cc docs/javascript.html index 91fe949101,acde34d46a..bf27dd7f17 --- a/docs/javascript.html +++ b/docs/javascript.html @@@ -25,7 -25,19 +25,8 @@@ - + + - - - @@@ -136,11 -145,16 +134,16 @@@ 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-alert.js + The alert plugin is a tiny class for adding close functionality to alerts. + bootstrap-button.js - This plugin offers additional functionality for managing button state. + This plugin offers additional functionality for managing button state in single buttons and button sets. bootstrap-collapse.js @@@ -295,10 -303,12 +292,12 @@@ $('#myModal').on('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.

+

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

+

Notice For added control and flexibility, optionally specify a data-target="#fat" or href="#fat" - this allows you to target specific dropdowns.

+
  <ul class="tabs">
    <li class="active"><a href="#">Home</a></li>
@@@ -644,10 -655,10 +644,10 @@@ $('a[data-toggle="tab"]').on('shown', f
            Download
          
-

Using boostrap-popover.js

+

Using bootstrap-popover.js

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

Options

- +
Name