From 2883888a57492aa080c4202bdb90fd2606b05365 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Fri, 2 Sep 2011 23:15:38 -0700 Subject: [PATCH] adds small js section to docs index --- docs/index.html | 33 +++++++++++++++++++++++++++++++++ examples/javascript.html | 25 +------------------------ 2 files changed, 34 insertions(+), 24 deletions(-) diff --git a/docs/index.html b/docs/index.html index d2e0366118..2f3adcb4b0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -48,6 +48,7 @@
  • Navigation
  • Alerts
  • Popovers
  • +
  • Javascript
  • Less
  • @@ -1245,6 +1246,38 @@ Lorem ipsum dolar sit amet illo error ipsum verita + + +
    + +
    +
    +

    Integrating javascript with the Bootstrap library is super easy. Below we go over the basics and provide you with some awesome plugins to get you started!

    +
    +
    +

    Getting started

    +

    We've set out to make your interactive work with Bootstrap even more simple, offering several lightweight plugins for things like modals, tooltips, and other dynamic components. These plugins have been coded up to work with either jQuery or Ender, but we encourage you to extend and modify them to fit your development needs!

    +

    Do I need javascript?

    +

    The short answer is no... of course not! However, for those who need it, we've provided the plugins below to help you understand how to integrate bootstrap with javascript and to give you a quick lightweight option for dropping something in and getting the basic functionality right away! For more information on these plugins and to see demos of them in action, please refer to our plugin documentation page. +

    +
    bootstrap-modal.js
    +
    Our Modal plugin is a super slim take on the traditional modal js plugin! We took special care to include only the bare functionality that we require at twitter.
    +
    bootstrap-alerts.js
    +
    The alert plugin is a super tiny class for adding close functionality to alerts.
    +
    bootstrap-dropdown.js
    +
    This plugin is for adding dropdown to the bootstrap nav.
    +
    bootstrap-twipsy.js
    +
    Based on the excellent jQuery.tipsy plugin written by Jason Frame; twipsy is an updated version, which doesn't rely on images, uses css3 for animations, and data-attributes for title storage!
    +
    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!
    +
    +

    +
    +
    + diff --git a/examples/javascript.html b/examples/javascript.html index 34cf74c9a1..a44bc5e388 100644 --- a/examples/javascript.html +++ b/examples/javascript.html @@ -42,7 +42,6 @@

    Bootstrap JS

      -
    • Getting Started
    • Modals
    • Alerts
    • Dropdown
    • @@ -55,28 +54,6 @@
      - - -
      - -
      -
      -

      This page illustrates how to integrate javascript with the Bootstrap library. Below we go over the basics and provide you with some awesome plugins to get you started!

      -
      -
      -

      What is this all about?

      -

      With this example page, we've set out to make your interactive work with Bootstrap even more simple, offering several lightweight plugins for things like modals, tooltips, and other dynamic components. These plugins have been coded up to work with either jQuery or Ender, but we encourage you to extend and modify them to fit your development needs!

      -

      Do I need these?

      -

      The short answer is no. These plugins were provided to help you understand how to integrate bootstrap with javascript and to give you a quick lightweight option for dropping something in and getting the basic functionality. So please, roll your own and let us know how it went! -

      -
      -
      -
      - - @@ -199,7 +176,7 @@ $('#modal-content').modal({
      -

      This plugin is for adding dropdown to the bootstrap nav.

      +

      This plugin is for adding dropdowns to the bootstrap nav.

      Download