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

  • Home
  • SEARCH
  • 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 3616964
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:33:50+00:00 2026-05-18T22:33:50+00:00

The question is simple, but in my implementation something has gone awry. You can

  • 0

The question is simple, but in my implementation something has gone awry.

You can see my implementation here.

So what I want to happen is, when you click on one of the names in box #1, the dotted line and the #1 in a dotted circle both turn black and solid. The dotted line is not a border. The same should happen when you click any other data in the other corresponding boxes.

The main issue I am facing is that when I do a use the .css function in jQuery to manually change the color and the border, it works nicely. However, I would like to modify it with the toggle class (because I couldn’t get toggle() to work with the css function) – so that when you click it once, you see the element clicked highlighted (with a 1px border – this functionality is already there), and the corresponding number for the box (and dotted line) turned to solid black.

Thanks.

  • 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-05-18T22:33:50+00:00Added an answer on May 18, 2026 at 10:33 pm

    It looks like the JavaScript was fine. The only thing I could see messing things up was this line:

    $('#bc1 dashed-circle').toggleClass('bc-dashed-to-solid-circle');
    

    You’ll want to change that selector to #bc1 .dashed-circle.

    The reason the dashes and number aren’t changing color is because of specificity. You declare their normal color (#bdbebf) with the selector #blank-dashboard-breadcrumb span — an id and an element. You declare the “selected” color (black) with .bc-dotted-to-solid or .bc-dashed-to-solid-circle — simple classes. Even when the dash and the 1 have the appropriate classes, they still have a more specific selector telling them to remain gray.

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

Sidebar

Related Questions

Simple question, but one I can't find an answer to on the MSDN subscriber
This is probably a simple question but I can't seem to find the solution.
Simple question, but one that I've been curious about...is there a functional difference between
Sorry for the simple question but I feel like there's a smarter way to
This is probably a simple question but I am not an ASP.NET developer and
This is probably a really simple question but... I would like to do a
This seems to be an absurdly simple question but Google and Stack Overflow searches
Simple question, but I haven't found a good explanation on google. When using Set
Simple question, but for some reason I couldn't find the exact answer on Google:
A simple question, but could someone provide sample code as to how would someone

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.