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

fix up subnav styles, add subnav search form styles, add some basic docs for subnav

This commit is contained in:
Mark Otto
2012-07-05 10:37:23 -07:00
parent a645664e50
commit c6ee96c025
5 changed files with 149 additions and 7 deletions

View File

@@ -45,8 +45,8 @@
// fix sub nav on scroll
var $win = $(window)
, $nav = $('.navbar-subnav')
, navTop = $('.navbar-subnav').length && $('.navbar-subnav').offset().top - 40
, $nav = $('.subhead .navbar-subnav')
, navTop = $('.subhead .navbar-subnav').length && $('.subhead .navbar-subnav').offset().top - 40
, isFixed = 0
processScroll()