From edb221a20ceabebd427e27d0432e94a227717217 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Fri, 22 Nov 2013 11:58:53 -0800 Subject: Add tooltip `viewport` option, respect bounds of the viewport --- docs/javascript.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index d7035d661..9961a2851 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1027,6 +1027,22 @@ $('#example').tooltip(options)

Appends the tooltip to a specific element. Example: container: 'body'

+ + viewport + string + 'body' + +

Keeps the tooltip within the bounds of this element. Example: viewport: '#viewport'

+ + + + viewportPadding + number + 0 + +

Pixel distance to keep the tooltip from the edges of the viewport element. Example: viewportPadding: 10

+ + -- cgit v1.2.3 From 47f786e6ea21462a3653b3134b26f8088f855c82 Mon Sep 17 00:00:00 2001 From: patricker Date: Thu, 16 Jan 2014 11:41:34 -0700 Subject: Update javascript.html Fixed issue in Tabs example where the div had been marked as 'active' but the li had not been. The correct tab of data would be displayed on load, but no tabs would be highlighted. The tabs with fade example does not have this issue. jsFiddle: http://jsfiddle.net/uXV56/ --- docs/javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 3eeb2d8f0..2d8c0e7c6 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -793,7 +793,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) {% highlight html %}