diff options
author | Quy Ton <quy@fluxbb.org> | 2014-01-04 21:10:02 +0400 |
---|---|---|
committer | Quy Ton <quy@fluxbb.org> | 2014-01-04 21:10:02 +0400 |
commit | 11f56bbb7b472f7fd17bd86909cf480ee860c751 (patch) | |
tree | f095d2ccca864f30d83b6acc984ee89970f3d847 /docs/javascript.html | |
parent | 84c33a822da54a48f0f4751fe519dfc6b324a453 (diff) |
Use relative URLs
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 3bceb67512..07d92aa320 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#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"> |