2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

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
-6
View File
@@ -1,11 +1,5 @@
$(document).ready(function(){
// Scrollspy
// =========
$('body > .topbar').scrollSpy()
// table sort example
// ==================
+1 -1
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>
+1 -1
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>