index to use data attr for scrollspy initilizing

This commit is contained in:
Jacob Thornton 2011-09-11 23:36:59 -07:00
parent 02d668fd2e
commit fcf816a236
3 changed files with 2 additions and 8 deletions

View File

@ -1,11 +1,5 @@
$(document).ready(function(){
// Scrollspy
// =========
$('body > .topbar').scrollSpy()
// table sort example
// ==================

View File

@ -37,7 +37,7 @@
<!-- Topbar
================================================== -->
<div class="topbar">
<div class="topbar" data-scrollspy="pls" >
<div class="topbar-inner">
<div class="container">
<a class="brand" href="#">Bootstrap</a>

View File

@ -39,7 +39,7 @@
<!-- Topbar
================================================== -->
<div class="topbar" data-scrollspy="pls">
<div class="topbar" data-scrollspy="pls" >
<div class="fill">
<div class="container">
<h3><a href="#">Bootstrap JS</a></h3>