]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
scrollspy maybe?
authorMark Otto <markdotto@gmail.com>
Mon, 27 Oct 2014 08:35:10 +0000 (01:35 -0700)
committerMark Otto <markdotto@gmail.com>
Mon, 27 Oct 2014 08:35:10 +0000 (01:35 -0700)
docs/_layouts/default.html

index 35fc68535e075f5603c9985225b2d9a565921e61..f502ea632f8e8290452cbdd0afca2314e7cdb5fd 100644 (file)
@@ -4,7 +4,7 @@
     <!-- Meta, title, CSS, favicons, etc. -->
     {% include header.html %}
   </head>
-  <body class="bs-docs">
+  <body class="bs-docs" data-spy="scroll" data-target=".bs-docs-sidenav">
     <a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
 
     {% include docs-nav.html %}