1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

update to use latest version of bootstrap, docs cleanup, etc

This commit is contained in:
Mark Otto
2011-06-27 16:47:12 -07:00
parent b9e28e48a8
commit dd769f9a6e
14 changed files with 600 additions and 347 deletions

View File

@@ -1,6 +1,6 @@
// Javascript to toggle the dropdowns
$(document).ready(function(){
// Example dropdown for topbar nav
$("body").bind("click", function(e) {
$("ul.menu-dropdown").hide();
$('a.menu').parent("li").removeClass("open").children("ul.menu-dropdown").hide();
@@ -22,10 +22,10 @@ $(document).ready(function(){
return false;
});
//table sort example
// table sort example
$("#sortTableExample").tablesorter( {sortList: [[1,0]]} );
//add on
// add on
$('.add-on :checkbox').click(function() {
if ($(this).attr('checked')) {
$(this).parents('.add-on').addClass('active');
@@ -35,7 +35,7 @@ $(document).ready(function(){
});
//scroll spyer
// scroll spyer
var activeTarget,
$window = $(window),
position = {},