Scrollspy seems to be a bit buggy. I ended up ditching it and going with the jQuery One Page Nav plugin: https://github.com/davist11/jQuery-One-Page-Nav
-- Tyler Longren Phone: +1 515-999-5033 Pay: http://pay.longren.org/ Web: http://www.longren.org/ Google+: http://goo.gl/4g8b6 Twitter: http://twitter.com/tlongren/ On Mon, Jun 24, 2013 at 4:41 AM, iange87 <[email protected]> wrote: > This is working for me when viewed in Chrome. Probably not the answer you > were after! > > > On Thursday, 20 June 2013 21:50:36 UTC+1, Tyler Longren wrote: >> >> I'm going for something like this, as far as scrolling and clicking nav >> items goes: >> http://sitediscount.ru/**bootscroller/index.html<http://sitediscount.ru/bootscroller/index.html> >> >> >> On Thursday, June 20, 2013 2:33:28 PM UTC-5, Tyler Longren wrote: >>> >>> Hi Bootstrappers, >>> >>> Before I begin, please see here: >>> http://www.longren.org/test/ >>> >>> I'm trying to build a "single page" site, where the navigation items >>> highlight when the user gets to that "section" of the page, either by >>> scrolling there or by clicking the nav items. >>> >>> Got a normal navbar, that changes to navbar-fixed-top after scrolling so >>> it's always visible to the user. >>> >>> Click on "Pricing" nav item and it'll take you to the Pricing table. >>> However, the Pricing nav item doesn't have the "active" class applied. The >>> nav item before Pricing still has the active class. >>> >>> And also when scrolling, I have to scroll halfway through the section >>> before the nav item gets the "active" class applied to it. >>> >>> The site you're looking at is using latest bootstrap with the Flatly >>> Bootswatch. >>> >>> What can I do to fix these issues? Should I just not use >>> navbar-fixed-top and just leave the navbar normal size but still have it be >>> static @ the top of the page? Maybe I'm not defining the "sections" in the >>> proper/best way? >>> >>> Looking for advice, any suggestions are greatly appreciated. :) >>> >>> Thanks everyone! >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "twitter-bootstrap" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/twitter-bootstrap/5mkauELJj8k/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "twitter-bootstrap" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
