Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8579315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:35:11+00:00 2026-06-11T20:35:11+00:00

I am designing a single page website and want the fixed nav links to

  • 0

I am designing a single page website and want the fixed nav links to change colour whenever the user scrolls to the specified location. Seems pretty easy to do, I thought it was pretty easy to do, but I am having problems making it work.

I only downloaded the Scrollspy JS Plugin, as I am not using the Twitter Bootstrap CSS. I just require the Scrollspy Plugin.

Could you check this jsFiddle and provide some guidance? I have already checked out the documentation here, but I’ve had no luck. Any help is greatly appreciated 🙂

http://jsfiddle.net/xjTpk/28/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:35:12+00:00Added an answer on June 11, 2026 at 8:35 pm

    Ignoring the serious issues with your use of JSFiddle1, and the typographic errors2, the principle things wrong are

    1. You need the .nav class on the <ul> in the navbar, and
    2. The #welcome is not an existing element, causing a JS error.

    Here’s a fixed demo:

    JSFiddle

    Oh, and you don’t need both data-api and js to initialize the plugin; choose one.

    1 Loading Bootstrap 2.0.2 + 2.0.4 at the same time; trying to include a <body> in the html panel

    2 Using upperCamelCase on a function that doesn’t need it: scrollSpy();

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm designing a single page website. All the sections to the site pop up
I am designing a single page website with some forms. It has 3 divs
Im designing my school's website and I kind of want to do like a
I m designing a website in which I want to add multiple rows into
I'm currently designing a single page application and wanted to make use of jQuery
I have 4 navigation buttons and i am designing a single page vertical site..
Im designing a website, and often I need to present information in a nice
while designing my user control, i encountered the following problem: i would like to
I want to implement page transition w/ a slide style in Metro Style App
I am working on a single sign-on login page using Shibboleth that will be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.