From 8896497ea88037fe3e082eb7d7d9c3c3051b9b6b Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Thu, 15 Sep 2011 21:19:39 -0700 Subject: update attributes for js and make tooltips reposition on resize --- docs/javascript.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 77cb2229f..e1c4e83dc 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -39,7 +39,7 @@ -
+

Bootstrap JS

@@ -221,7 +221,7 @@ $('#my-modal').bind('hidden', function () {
 <ul class="tabs">
   <li class="active"><a href="#">Home</a></li>
-  <li class="dropdown" data-dropdown="x" >
+  <li class="dropdown" data-dropdown="dropdown" >
     <a href="#" class="dropdown-toggle">Dropdown</a>
     <ul class="dropdown-menu">
       <li><a href="#">Secondary link</a></li>
@@ -239,7 +239,7 @@ $('#my-modal').bind('hidden', function () {
           

Demo

-
+

Project Name

@@ -295,7 +295,7 @@ $('#my-modal').bind('hidden', function () {
$('#topbar').dropdown()

Markup

To easily add scrollspy behavior to your nav, just add the data-scrollspy attribute to the .topbar. -

<div class="topbar" data-scrollspy="x" >...</div>
+
<div class="topbar" data-scrollspy="scrollspy" >...</div>

Methods

$().scrollspy()

@@ -330,7 +330,7 @@ $('#my-modal').bind('hidden', function () {

$('.tabs').tabs()

Markup

You can activate a tab or pill navigation without writing any javascript by simply giving them a data-tabs or data-pills attribute.

-
 <ul class="tabs" data-tabs="x" >...</ul>
+
 <ul class="tabs" data-tabs="tabs" >...</ul>

Methods

$().tabs or $().pills

@@ -358,7 +358,7 @@ $('#my-modal').bind('hidden', function () { </script>

Demo

-
    +
    • Home
    • Profile
    • Messages
    • @@ -644,11 +644,11 @@ $('#my-modal').bind('hidden', function () {

      Closes an alert.

      $(".alert-message").alert('close')

      Demo

      -
      +
      ×

      Holy guacamole! Best check yo self, you’re not looking too good.

      -
      +
      ×

      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.

      -- cgit v1.2.3