Twitter Bootstrap

A place to discuss the science of computers and programs, from algorithms to computability.

Formal proofs preferred.

Moderators: phlip, Moderators General, Prelates

User avatar
Oh man! I'm going to be so rebellious! I'm gonna...
Posts: 6421
Joined: Thu Aug 16, 2007 3:15 pm UTC
Location: Beyond the goblin city

Twitter Bootstrap

Postby Moo » Tue Sep 23, 2014 2:44 pm UTC

So, we're using Bootstrap quite extensively at my new job. I've kind of gotten the hang of it, and definitely see the appeal.

I have a specific Bootstrap question but I figured it's an interesting and pervasive enough subject that it deserves its own general thread.

Question: has anyone worked with scrollspy? Specifically, I'm trying to get it to work on a sub-nav, rather than a top level nav. IF I can get it working, I eventually want different links in the nav to have different styles applied depending on the section being viewed by the user. Sections have different colours.

Have you ever used scrollspy on a subnav (there is no scrollspy on the top nav)? Any general tips for using scrollspy? Which implementation do you prefer (data attributes or JavaScript?
Proverbs 9:7-8 wrote:Anyone who rebukes a mocker will get an insult in return. Anyone who corrects the wicked will get hurt. So don't bother correcting mockers; they will only hate you.
Hawknc wrote:FFT: I didn't realise Proverbs 9:7-8 was the first recorded instance of "haters gonna hate"

Return to “Computer Science”

Who is online

Users browsing this forum: No registered users and 4 guests