diff options
| author | Jacob Thornton <[email protected]> | 2012-01-23 19:55:00 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-23 19:55:00 -0800 |
| commit | 82de03b67cf729291ea5a73741e44838a42940f8 (patch) | |
| tree | 5a16cf77e83433096cbb57ba5cd455bf580806f9 /docs/javascript.html | |
| parent | b4b1ef68398b68dcdfa29465d06cd76d6bf2c49d (diff) | |
| download | bootstrap-82de03b67cf729291ea5a73741e44838a42940f8.tar.xz bootstrap-82de03b67cf729291ea5a73741e44838a42940f8.zip | |
start wrapping text in {{_i}} for translation
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 7b7f88c5c..cc641ed49 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -22,11 +22,10 @@ <link rel="apple-touch-icon" href="images/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"> <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"> - </head> <body> - + <!-- Navbar ================================================== --> <div class="navbar navbar-fixed"> @@ -299,7 +298,7 @@ <p><span class="label notice">Notice</span> If you want your modal to animate in and out, just add a <code>.fade</code> class to the <code>.modal</code> element (refer to the demo to see this in action).</p> <h3>Methods</h3> <h4>.modal(options)</h4> - <p>Activates your content as a modal. Accepts an optional options <code>object</code>. + <p>Activates your content as a modal. Accepts an optional options <code>object</code>.</p> <pre class="prettyprint linenums"> $('#myModal').modal({ keyboard: false @@ -314,7 +313,7 @@ $('#myModal').modal({ <p>Manually hides a modal.</p> <pre class="prettyprint linenums">$('#myModal').modal('hide')</pre> <h3>Events</h3> - <p>Bootstrap's modal class exposes a few events for hooking into modal functionality. </p> + <p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p> <table class="table table-bordered table-striped"> <thead> <tr> @@ -344,7 +343,7 @@ $('#myModal').modal({ <pre class="prettyprint linenums"> $('#myModal').on('hidden', function () { - // do something ... + // do something… })</pre> </div> </div> @@ -472,9 +471,7 @@ $('#myModal').on('hidden', function () { </ul></pre> <h3>Methods</h3> <h4>$().dropdown()</h4> - <p> - A programatic api for activating menus for a given navbar or tabbed navigation. - </p> + <p>A programatic api for activating menus for a given navbar or tabbed navigation.</p> </div> </div> </section> @@ -544,9 +541,9 @@ $('#myModal').on('hidden', function () { <p>Call the scrollspy via javascript:</p> <pre class="prettyprint linenums">$('#navbar').scrollspy()</pre> <h3>Markup</h3> - <p>To easily add scrollspy behavior to your topbar navigation, just add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the body). + <p>To easily add scrollspy behavior to your topbar navigation, just add <code>data-spy="scroll"</code> to the element you want to spy on (most typically this would be the body).</p> <pre class="prettyprint linenums"><body data-spy="scroll" >...</body></pre> - <p><span class="label notice">Notice</span> Navbar anchor tags must have resolvable id targets. For example, a <code><a href="#home">home</a></code> must correspond to something in the dom like <code><div id="home"></div></code>. + <p><span class="label notice">Notice</span> Navbar anchor tags must have resolvable id targets. For example, a <code><a href="#home">home</a></code> must correspond to something in the dom like <code><div id="home"></div></code>.</p> <h3>Options</h3> <table class="table table-bordered table-striped"> <thead> |
