diff options
| author | Mark Otto <[email protected]> | 2014-01-04 19:31:52 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-01-04 19:31:52 -0800 |
| commit | 72d4fafd6636b8b59c8c0983a2c27908a25d1a70 (patch) | |
| tree | 7918fb1886c32e6dcee56f7800f745d2c3b21e57 /docs/javascript.html | |
| parent | 7ca113b487fd6f91a02ca0cae78a6a78b73ac954 (diff) | |
| parent | a617c805f298b8feefd7703c12decd035ef7d1ec (diff) | |
| download | bootstrap-72d4fafd6636b8b59c8c0983a2c27908a25d1a70.tar.xz bootstrap-72d4fafd6636b8b59c8c0983a2c27908a25d1a70.zip | |
Merge pull request #12092 from Quy/master
Use relative URLs and fix anchor links
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 3bceb6751..4fe058e09 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -109,7 +109,7 @@ $('#myModal').on('show.bs.modal', function (e) { </div> <div class="bs-callout bs-callout-warning"> <h4>Mobile device caveats</h4> - <p>There are some caveats regarding using modals on mobile devices. <a href="{{ site.baseurl }}getting-started#fixed-position-keyboards">See our browser support docs</a> for details.</p> + <p>There are some caveats regarding using modals on mobile devices. <a href="../getting-started/#support-fixed-position-keyboards">See our browser support docs</a> for details.</p> </div> <h3>Static example</h3> @@ -795,7 +795,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) {% endhighlight %} <h3>Markup</h3> - <p>You can activate a tab or pill navigation without writing any JavaScript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the Bootstrap <a href="{{ site.baseurl }}components#nav-tabs">tab styling</a>, while adding the <code>nav</code> and <code>nav-pills</code> classes will apply <a href="{{ site.baseurl }}components#nav-pills">pill styling</a>.</p> + <p>You can activate a tab or pill navigation without writing any JavaScript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the Bootstrap <a href="../components/#nav-tabs">tab styling</a>, while adding the <code>nav</code> and <code>nav-pills</code> classes will apply <a href="../components/#nav-pills">pill styling</a>.</p> {% highlight html %} <!-- Nav tabs --> <ul class="nav nav-tabs"> |
