From 200f5817ba7eb4c9ccafed3faad45b06ba89dfa7 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sun, 11 Sep 2011 21:03:17 -0700 Subject: method invocation jqueryui style --- docs/javascript.html | 154 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 110 insertions(+), 44 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index e18784b91..c7f31961d 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -142,8 +142,8 @@ $('#my-modal').modal({

Manually hides a modal.

$('#my-modal').modal('hide')

.modal(true)

-

Returns a modals modal class instance.

-
$('#my-modal').modal('hide')
+

Returns an elements modal class instance.

+
$('#my-modal').modal(true)

Notice Alternatively, this can be retrieved with $().data('modal').

Events

Bootstrap's modal class exposes a few events for hooking into modal functionality. The include:

@@ -357,7 +357,13 @@ $('#my-modal').bind('hidden', function () { <div id="profile">...</div> <div id="messages">...</div> <div id="settings">...</div> -</ul> +</ul> + +<script> + $(function () { + $('.tabs').tabs() + }) +</script>

Demo