From 5960711d0f79f7031b444bafba9a856c77f697bc Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Thu, 8 Sep 2011 20:21:03 -0700 Subject: some more js love - update the docs with tabs/pills plugin --- docs/javascript.html | 86 +++++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 41 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index d39340d02..2efb41531 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -15,11 +15,13 @@ + + @@ -45,6 +47,7 @@
  • Modals
  • Alerts
  • Dropdown
  • +
  • Tabs
  • Twipsy
  • Popover
  • @@ -242,58 +245,59 @@ $('#modal-content').modal({
    -

    This plugin is for adding simple dynamic tab functionality.

    - Download +

    This plugin adds quick, dynamic tab and pill functionality.

    + Download

    Using boostrap-tabs.js

    -
    $('#topbar').dropdown()
    +
    $('.tabs').tabs()

    Method

    -

    $().dropdown

    +

    $().tabs or $().pills

    - Activates menus for given topbar navigation. + Activates tab and pill functionality for a given container. +

    +

    + Note: The controlled container is defined by a required aria-controls attribute added to your .tabs or .pills. The aria-controls attribute must reference an element's id. +

    +<ul class="tabs" aria-controls="my-pill-content">
    +  <li class="active"><a href="#home">Home</a></li>
    +  <li><a href="#profile">Profile</a></li>
    +  <li><a href="#messages">Messages</a></li>
    +  <li><a href="#settings">Settings</a></li>
    +</ul>
    +
    +<div class="pill-content" id="my-pill-content">
    +  <div class="active" id="home">...</div>
    +  <div id="profile">...</div>
    +  <div id="messages">...</div>
    +  <div id="settings">...</div>
    +</ul>

    Demo

    -
    - + +
    +

    +Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui. +

    +

    +Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park. +

    +

    +Banksy do proident, brooklyn photo booth delectus sunt artisan sed organic exercitation eiusmod four loko. Quis tattooed iphone esse aliqua. Master cleanse vero fixie mcsweeney's. Ethical portland aute, irony food truck pitchfork lomo eu anim. Aesthetic blog DIY, ethical beard leggings tofu consequat whatever cardigan nostrud. Helvetica you probably haven't heard of them carles, marfa veniam occaecat lomo before they sold out in shoreditch scenester sustainable thundercats. Consectetur tofu craft beer, mollit brunch fap echo park pitchfork mustache dolor. +

    +

    +Sunt qui biodiesel mollit officia, fanny pack put a bird on it thundercats seitan squid ad wolf bicycle rights blog. Et aute readymade farm-to-table carles 8-bit, nesciunt nulla etsy adipisicing organic ea. Master cleanse mollit high life, next level Austin nesciunt american apparel twee mustache adipisicing reprehenderit hoodie portland irony. Aliqua tofu quinoa +1 commodo eiusmod. High life williamsburg cupidatat twee homo leggings. Four loko vinyl DIY consectetur nisi, marfa retro keffiyeh vegan. Fanny pack viral retro consectetur gentrify fap. +

    -- cgit v1.2.3