diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index 7918de1b9a..2c1ebd7318 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -213,6 +213,31 @@ div.topbar-wrapper div.topbar .topbar-inner {
border-radius: 4px;
}
+/* Topbar special styles for js
+-------------------------------------------------- */
+#bootstrap-js div.topbar-wrapper {
+ position: relative;
+ height: 40px;
+ margin: 5px 0 15px;
+}
+
+#bootstrap-js div.topbar-wrapper div.topbar {
+ position: absolute;
+ margin: 0 -20px;
+}
+
+#bootstrap-js div.topbar-wrapper div.topbar .fill {
+ padding-left: 20px;
+ padding-right: 20px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+}
+
+#bootstrap-js div.topbar-wrapper .container {
+ width: auto;
+}
+
/* Popover docs
-------------------------------------------------- */
div.popover-well {
diff --git a/examples/assets/js/bootstrap-alerts.js b/docs/assets/js/bootstrap-alerts.js
similarity index 100%
rename from examples/assets/js/bootstrap-alerts.js
rename to docs/assets/js/bootstrap-alerts.js
diff --git a/examples/assets/js/bootstrap-dropdown.js b/docs/assets/js/bootstrap-dropdown.js
similarity index 100%
rename from examples/assets/js/bootstrap-dropdown.js
rename to docs/assets/js/bootstrap-dropdown.js
diff --git a/examples/assets/js/bootstrap-modal.js b/docs/assets/js/bootstrap-modal.js
similarity index 100%
rename from examples/assets/js/bootstrap-modal.js
rename to docs/assets/js/bootstrap-modal.js
diff --git a/examples/assets/js/bootstrap-popover.js b/docs/assets/js/bootstrap-popover.js
similarity index 100%
rename from examples/assets/js/bootstrap-popover.js
rename to docs/assets/js/bootstrap-popover.js
diff --git a/examples/assets/js/bootstrap-twipsy.js b/docs/assets/js/bootstrap-twipsy.js
similarity index 100%
rename from examples/assets/js/bootstrap-twipsy.js
rename to docs/assets/js/bootstrap-twipsy.js
diff --git a/docs/index.html b/docs/index.html
index bb8ac6c67f..d610ad17ff 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1307,17 +1307,17 @@ Lorem ipsum dolar sit amet illo error ipsum verita
Getting started
We've set out to make your interactive work with Bootstrap even more simple, offering several lightweight plugins for things like modals, tooltips, and other dynamic components. These plugins have been coded up to work with either jQuery or Ender, but we encourage you to extend and modify them to fit your development needs!
Do I need javascript?
-
The short answer is no... of course not! However, for those who need it, we've provided the plugins below to help you understand how to integrate bootstrap with javascript and to give you a quick lightweight option for dropping something in and getting the basic functionality right away! For more information on these plugins and to see demos of them in action, please refer to our plugin documentation page.
+
The short answer is no... of course not! However, for those who need it, we've provided the plugins below to help you understand how to integrate bootstrap with javascript and to give you a quick lightweight option for dropping something in and getting the basic functionality right away! For more information on these plugins and to see demos of them in action, please refer to our plugin documentation page.
Our Modal plugin is a super slim take on the traditional modal js plugin! We took special care to include only the bare functionality that we require at twitter.
Based on the excellent jQuery.tipsy plugin written by Jason Frame; twipsy is an updated version, which doesn't rely on images, uses css3 for animations, and data-attributes for title storage!
The popover plugin provides a simple interface for adding popovers to your application. It extends the boostrap-twipsy.js plugin, so be sure to grab that file as well when including popovers in your project!