Commit fcf816a2 authored by Jacob Thornton's avatar Jacob Thornton
Browse files

index to use data attr for scrollspy initilizing

parent 02d668fd
No related merge requests found
Showing with 2 additions and 8 deletions
+2 -8
$(document).ready(function(){ $(document).ready(function(){
// Scrollspy
// =========
$('body > .topbar').scrollSpy()
// table sort example // table sort example
// ================== // ==================
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<!-- Topbar <!-- Topbar
================================================== --> ================================================== -->
<div class="topbar"> <div class="topbar" data-scrollspy="pls" >
<div class="topbar-inner"> <div class="topbar-inner">
<div class="container"> <div class="container">
<a class="brand" href="#">Bootstrap</a> <a class="brand" href="#">Bootstrap</a>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<!-- Topbar <!-- Topbar
================================================== --> ================================================== -->
<div class="topbar" data-scrollspy="pls"> <div class="topbar" data-scrollspy="pls" >
<div class="fill"> <div class="fill">
<div class="container"> <div class="container">
<h3><a href="#">Bootstrap JS</a></h3> <h3><a href="#">Bootstrap JS</a></h3>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment