diff --git a/javascript.html b/javascript.html index 908cd472..94764df5 100644 --- a/javascript.html +++ b/javascript.html @@ -103,7 +103,7 @@
"static" if you do not want the modal closed when the backdrop is clicked"static" if you do not want the modal closed when the backdrop is clicked.Activates your content as a modal. Accepts an optional options object.
$('#my-modal').modal({
- closeOnEscape: true
+ keyboard: true
})
Manually toggles a modal.
@@ -349,7 +349,7 @@ $('#my-modal').bind('hidden', function () { <div id="profile">...</div> <div id="messages">...</div> <div id="settings">...</div> -</ul> +</div> <script> $(function () { @@ -357,6 +357,26 @@ $('#my-modal').bind('hidden', function () { }) </script> +| Event | +Description | +
|---|---|
| change | +This event fires on tab change. Use event.target and event.relatedTarget to target the active tab and the previous active tab respectively. |
+
+$('#.tabs').bind('change', function (e) {
+ e.target // activated tab
+ e.relatedTarget // previous tab
+})
The popover plugin provides a simple interface for adding popovers to your application. It extends the bootstrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project!
+Notice You must include the bootstrap-twipsy.js file before bootstrap-popover.js.
Download