diff options
| author | Mark Otto <[email protected]> | 2012-01-07 13:52:36 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-07 13:52:36 -0800 |
| commit | 418e2c7d58d9fc6a126a58427b14a2cf68f97423 (patch) | |
| tree | a9b427a23796162fd8ec3a79e85023931b2970ec /docs/javascript.html | |
| parent | b81b0e2b15abf4068f55d0055a10c8f5a16aece8 (diff) | |
| parent | 3eb80591b2c8bb2850caf27da7d6b8c8b747063a (diff) | |
| download | bootstrap-418e2c7d58d9fc6a126a58427b14a2cf68f97423.tar.xz bootstrap-418e2c7d58d9fc6a126a58427b14a2cf68f97423.zip | |
Merge branch '2.0-wip' of https://github.com/pokonski/bootstrap into pokonski-2.0-wip
Conflicts:
bootstrap.css
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 28d91cb4e..d19343675 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -23,6 +23,49 @@ <link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"> <link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"> + <!-- 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.min.js"></script> + + <script type="text/javascript"> + // NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO + $(document).ready(function() { + $('.nav .active').click(function(e) { + e.preventDefault(); + $(this).siblings().toggle(); + }); + }); + </script> + + <script src="assets/js/google-code-prettify/prettify.js"></script> + <script>$(function () { prettyPrint() })</script> + <script src="../js/bootstrap-transition.js"></script> + <script src="../js/bootstrap-alert.js"></script> + <script src="../js/bootstrap-modal.js"></script> + <script src="../js/bootstrap-dropdown.js"></script> + <script src="../js/bootstrap-scrollspy.js"></script> + <script src="../js/bootstrap-tab.js"></script> + <script src="../js/bootstrap-twipsy.js"></script> + <script src="../js/bootstrap-popover.js"></script> + <script src="../js/bootstrap-button.js"></script> + <script> + $(function () { + // twipsy demo + $("a[rel=twipsy]").twipsy({ + live: true + }) + + //popover demo + $("a[rel=popover]") + .popover({ + offset: 10 + }) + .click(function(e) { + e.preventDefault() + }) + }) + </script> + </head> <body id="bootstrap-js"> |
