diff options
| author | Mark Otto <[email protected]> | 2011-12-09 11:41:00 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-12-09 11:41:00 -0800 |
| commit | 1d1805ee5cb188f0c70b6a27e227ea6caca62c8e (patch) | |
| tree | 8e1f481b3cc2c444f418e892af2773c6003212c8 /docs/javascript.html | |
| parent | 312ee6cdfb20f7602924c90e6ae37cba62a39da4 (diff) | |
| download | bootstrap-1d1805ee5cb188f0c70b6a27e227ea6caca62c8e.tar.xz bootstrap-1d1805ee5cb188f0c70b6a27e227ea6caca62c8e.zip | |
add jank js for prototyping new topbar to all docs pages
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 13 |
1 files changed, 12 insertions, 1 deletions
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> |
