Bootstrap comes with a couple of basic (but pretty darn awesome) jQuery based plugins to make websites more awesome. There is a lot of documentation over at the Get Bootstrap website.
An example of these awesome features is the tooltip. The HTML embed-able markup is:
<a href="#" data-toggle="tooltip" title="first tooltip">Hover over me</a>
or this, in Wikidot markup:
[[a href="#" data-toggle="tooltip" data-original-title="first tooltip"]]Hover over me[[/a]]Live code: Hover over me
From what I understand (I may be wrong) — by default, these tooltips will not be initiated. The Bootstrap demo site itself uses the following Javascript code to initialize all the data-toggle="tooltip" on $(document).ready():
// tooltip demo $('.tooltip-demo').tooltip({ selector: "[data-toggle=tooltip]", container: "body" })
If this could be done on all the different types of Javascript plugins: the popover, the carousel, the tabs, etc… it would make an awesome addition in functionality :D
Kenneth Tsang (@jxeeno)
