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/components.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/components.html')
| -rw-r--r-- | docs/components.html | 11 |
1 files changed, 11 insertions, 0 deletions
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> |
