To start, navbars are static (not fixed to the top) and include support for a project name and basic navigation. Place one anywhere within a .container, which sets the width of your site and content.
-
+
+
{% highlight html %}
-
+
+
{% endhighlight %}
Make navbars accessible
@@ -1049,9 +1051,9 @@ base_url: "../"
Brand
A simple link to show your brand or project name only requires an anchor tag.
-
+
+
{% highlight html %}
Title
@@ -1060,13 +1062,13 @@ base_url: "../"
Nav links
Nav items are simple to add via unordered lists.
-
+
+
{% highlight html %}
@@ -1080,14 +1082,14 @@ base_url: "../"
To properly style and position a form within the navbar, add the appropriate classes as shown below. For a default form, include .navbar-form and either .pull-left or .pull-right to properly align it.
-
+
+
-
+
+
-
+
+
-
+
+
{% highlight html %}
@@ -1128,10 +1130,10 @@ base_url: "../"
Buttons
For buttons not residing in a <form>, add this class to vertically center buttons within a navbar.
-
+
+
{% highlight html %}
@@ -1140,31 +1142,31 @@ base_url: "../"
Text
Wrap strings of text in an element with .navbar-text, usually on a <p> tag for proper leading and color.
-
+
+
{% highlight html %}
-
+
+
{% endhighlight %}
Links
For folks using standard links that are not within the regular navbar navigation component, use the .navbar-link class to add the proper colors for the default and inverse navbar options.
-
+
+
{% highlight html %}
-
+
+
{% endhighlight %}
Component alignment
@@ -1189,9 +1191,9 @@ base_url: "../"
{% highlight html %}
-
+
+
{% endhighlight %}
@@ -1206,7 +1208,7 @@ body { padding-top: 70px; }
Fixed to bottom
Add .navbar-fixed-bottom instead.
-
+
+
{% highlight html %}
-
+
+
{% endhighlight %}
@@ -1235,7 +1237,7 @@ body { padding-bottom: 70px; }
Static top navbar
Create a full-width navbar that scrolls away with the page by adding .navbar-static-top. Unlike the .navbar-fixed-* classes, you do not need to change any padding on the body.
-
+
+
{% highlight html %}
-
+
+
{% endhighlight %}
Responsive navbar
To implement a collapsing responsive navbar, wrap your navbar content in a containing div, .nav-collapse.collapse, and add the navbar toggle button, .navbar-toggle.
-
+
{% highlight html %}
-
+
-
+
{% endhighlight %}
@@ -1377,7 +1379,7 @@ body { padding-bottom: 70px; }
Inverted variation
Modify the look of the navbar by adding .navbar-inverse.
-
+
-
+
{% highlight html %}
-
+
+
{% endhighlight %}
diff --git a/javascript.html b/javascript.html
index 2d48e26e05..8c1bd27af3 100644
--- a/javascript.html
+++ b/javascript.html
@@ -355,7 +355,7 @@ $('#myModal').on('hidden.bs.modal', function () {