From 937cfa6a88919eaa6bfd3e65405093f9bd46c95d Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 18 Aug 2012 19:32:50 -0700 Subject: add note about .nav --- docs/templates/pages/javascript.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/templates/pages/javascript.mustache') diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index b62bbfc3c..29cce61e6 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -496,7 +496,7 @@ $('#myModal').on('hidden', function () {

{{_i}}Usage{{/i}}

{{_i}}Via data attributes{{/i}}

-

{{_i}}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) and data-target=".navbar" to select which nav to use.{{/i}}

+

{{_i}}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) and data-target=".navbar" to select which nav to use. You'll want to scrollspy with the .nav class.{{/i}}

<body data-spy="scroll" data-target=".navbar">...</body>

{{_i}}Via JavaScript{{/i}}

-- cgit v1.2.3 From 44e35e9dfa33fe618218c770f0495bd9596f3485 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 18 Aug 2012 19:33:46 -0700 Subject: fix component --- docs/templates/pages/javascript.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/templates/pages/javascript.mustache') diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 29cce61e6..b419fb314 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -496,7 +496,7 @@ $('#myModal').on('hidden', function () {

{{_i}}Usage{{/i}}

{{_i}}Via data attributes{{/i}}

-

{{_i}}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) and data-target=".navbar" to select which nav to use. You'll want to scrollspy with the .nav class.{{/i}}

+

{{_i}}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) and data-target=".navbar" to select which nav to use. You'll want to use scrollspy with a .nav component.{{/i}}

<body data-spy="scroll" data-target=".navbar">...</body>

{{_i}}Via JavaScript{{/i}}

-- cgit v1.2.3 From 45dddc59a19f3e9decaa4bf0e0db3f884a0f6ff7 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 18 Aug 2012 19:54:30 -0700 Subject: add click option for tooltip, popover - make click default for popover --- docs/templates/pages/javascript.mustache | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/templates/pages/javascript.mustache') diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index b419fb314..c91ed3eb0 100644 --- a/docs/templates/pages/javascript.mustache +++ b/docs/templates/pages/javascript.mustache @@ -759,7 +759,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) { {{_i}}trigger{{/i}} {{_i}}string{{/i}} 'hover' - {{_i}}how tooltip is triggered{{/i}} - hover | focus | manual + {{_i}}how tooltip is triggered{{/i}} - click | hover | focus | manual {{_i}}delay{{/i}} @@ -852,7 +852,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {

Live demo

@@ -902,8 +902,8 @@ $('a[data-toggle="tab"]').on('shown', function (e) { {{_i}}trigger{{/i}} {{_i}}string{{/i}} - 'hover' - {{_i}}how popover is triggered{{/i}} - hover | focus | manual + 'click' + {{_i}}how popover is triggered{{/i}} - click | hover | focus | manual {{_i}}title{{/i}} -- cgit v1.2.3