From: Chris Rebert Date: Thu, 15 May 2014 01:23:58 +0000 (-0700) Subject: add 'container' option motivation to tooltip docs X-Git-Tag: v3.2.0~151^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3465d984fb934b1616b8d4ecf394b997cd1f0fab;p=thirdparty%2Fbootstrap.git add 'container' option motivation to tooltip docs --- diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 72096b3689..e967878f86 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -95,7 +95,7 @@ $('#example').tooltip(options) string | false false -

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

+

Appends the tooltip to a specific element. Example: container: 'body'. This option is particularly useful in that it allows you to position the tooltip in the flow of the document near the triggering element - which will prevent the tooltip from floating away from the triggering element during a window resize.