1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

add jank js for prototyping new topbar to all docs pages

This commit is contained in:
Mark Otto
2011-12-09 11:41:00 -08:00
parent 312ee6cdfb
commit 1d1805ee5c
6 changed files with 57 additions and 1 deletions

View File

@@ -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>