aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-12-09 11:41:00 -0800
committerMark Otto <[email protected]>2011-12-09 11:41:00 -0800
commit1d1805ee5cb188f0c70b6a27e227ea6caca62c8e (patch)
tree8e1f481b3cc2c444f418e892af2773c6003212c8 /docs
parent312ee6cdfb20f7602924c90e6ae37cba62a39da4 (diff)
downloadbootstrap-1d1805ee5cb188f0c70b6a27e227ea6caca62c8e.tar.xz
bootstrap-1d1805ee5cb188f0c70b6a27e227ea6caca62c8e.zip
add jank js for prototyping new topbar to all docs pages
Diffstat (limited to 'docs')
-rw-r--r--docs/base-css.html11
-rw-r--r--docs/components.html11
-rw-r--r--docs/index.html1
-rw-r--r--docs/javascript.html13
-rw-r--r--docs/less.html11
-rw-r--r--docs/scaffolding.html11
6 files changed, 57 insertions, 1 deletions
diff --git a/docs/base-css.html b/docs/base-css.html
index 2b7d17b4a..e087432fe 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -1118,6 +1118,17 @@
<!-- Le javascript -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
+
+ <script type="text/javascript">
+ // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
+ $(document).ready(function() {
+ $('.nav .active a').click(function(e) {
+ e.preventDefault();
+ $(this).parent().siblings().toggle();
+ });
+ });
+ </script>
+
<script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
<script src="assets/js/google-code-prettify/prettify.js"></script>
<script>$(function () { prettyPrint() })</script>
diff --git a/docs/components.html b/docs/components.html
index 833f532d9..049908c20 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -683,6 +683,17 @@ Lorem ipsum dolar sit amet illo error <a href="#" title="below">ipsum</a> verita
<!-- Le javascript -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
+
+ <script type="text/javascript">
+ // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
+ $(document).ready(function() {
+ $('.nav .active a').click(function(e) {
+ e.preventDefault();
+ $(this).parent().siblings().toggle();
+ });
+ });
+ </script>
+
<script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
<script src="assets/js/google-code-prettify/prettify.js"></script>
<script>$(function () { prettyPrint() })</script>
diff --git a/docs/index.html b/docs/index.html
index 16eed36c8..daf7eb308 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -198,6 +198,7 @@
<script src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script type="text/javascript">
+ // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
$(document).ready(function() {
$('.nav .active a').click(function(e) {
e.preventDefault();
diff --git a/docs/javascript.html b/docs/javascript.html
index c541d57fb..4e405521d 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -25,7 +25,18 @@
<!-- Le javascript -->
<!-- placed up here so that the inline demos can be next to their markup -->
- <script src="http://code.jquery.com/jquery-1.7.js"></script>
+ <script src="http://code.jquery.com/jquery-1.7.min.js"></script>
+
+ <script type="text/javascript">
+ // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
+ $(document).ready(function() {
+ $('.nav .active a').click(function(e) {
+ e.preventDefault();
+ $(this).parent().siblings().toggle();
+ });
+ });
+ </script>
+
<script src="assets/js/google-code-prettify/prettify.js"></script>
<script>$(function () { prettyPrint() })</script>
<script src="../js/bootstrap-transition.js"></script>
diff --git a/docs/less.html b/docs/less.html
index e9334a552..cbc410302 100644
--- a/docs/less.html
+++ b/docs/less.html
@@ -456,6 +456,17 @@
<!-- Le javascript -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
+
+ <script type="text/javascript">
+ // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
+ $(document).ready(function() {
+ $('.nav .active a').click(function(e) {
+ e.preventDefault();
+ $(this).parent().siblings().toggle();
+ });
+ });
+ </script>
+
<script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
<script src="assets/js/google-code-prettify/prettify.js"></script>
<script>$(function () { prettyPrint() })</script>
diff --git a/docs/scaffolding.html b/docs/scaffolding.html
index d4d1c6526..625c4bdb7 100644
--- a/docs/scaffolding.html
+++ b/docs/scaffolding.html
@@ -373,6 +373,17 @@
<!-- Le javascript -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
+
+ <script type="text/javascript">
+ // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
+ $(document).ready(function() {
+ $('.nav .active a').click(function(e) {
+ e.preventDefault();
+ $(this).parent().siblings().toggle();
+ });
+ });
+ </script>
+
<script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
<script src="assets/js/google-code-prettify/prettify.js"></script>
<script>$(function () { prettyPrint() })</script>