aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-01-23 19:55:00 -0800
committerJacob Thornton <[email protected]>2012-01-23 19:55:00 -0800
commit82de03b67cf729291ea5a73741e44838a42940f8 (patch)
tree5a16cf77e83433096cbb57ba5cd455bf580806f9 /docs/javascript.html
parentb4b1ef68398b68dcdfa29465d06cd76d6bf2c49d (diff)
downloadbootstrap-82de03b67cf729291ea5a73741e44838a42940f8.tar.xz
bootstrap-82de03b67cf729291ea5a73741e44838a42940f8.zip
start wrapping text in {{_i}} for translation
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html17
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 () {
&lt;/ul&gt;</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">&lt;body data-spy="scroll" &gt;...&lt;/body&gt;</pre>
- <p><span class="label notice">Notice</span> Navbar anchor tags must have resolvable id targets. For example, a <code>&lt;a href="#home"&gt;home&lt;/a&gt;</code> must correspond to something in the dom like <code>&lt;div id="home"&gt;&lt;/div&gt;</code>.
+ <p><span class="label notice">Notice</span> Navbar anchor tags must have resolvable id targets. For example, a <code>&lt;a href="#home"&gt;home&lt;/a&gt;</code> must correspond to something in the dom like <code>&lt;div id="home"&gt;&lt;/div&gt;</code>.</p>
<h3>Options</h3>
<table class="table table-bordered table-striped">
<thead>