Results 1 to 2 of 2

Thread: Highlight Anchor Links on Scroll?

  1. #1
    Join Date
    Jul 2010

    Lightbulb Highlight Anchor Links on Scroll?

    Here's two examples that have navigation with exactly what Im looking for:

    I've tried ripping the sites apart to figure out how they work and the most I can tell is that they both use a class called .current to change the background color as the page is scrolled down. Is this done via javascript? Can you provide some kind of sample so I can better understand how this is working? Is there a jQuery plug-in that does this?

    A good explanation of how to implement would be greatly appreciated as I am mainly a CSS/HTML designer who is trying to learn more.

    Thanks so much.

  2. #2
    Join Date
    Jan 2005
    It's a jquery accordion script. View the source, and look at <script type="text/javascript" src=".../wp-content/themes/brizk/_js/site.js"></script>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center