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 7678127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:34:26+00:00 2026-05-31T17:34:26+00:00

I have seen numerous ways to highlight the current tab, but they all have

  • 0

I have seen numerous ways to highlight the current tab, but they all have been with separate html pages where as I am not using different pages such as about.html, services.html etc.

I am currently using divs with the information I need, and whenever I click the ‘about’ tab a div will show with the about information. But I’m not sure of a way to highlight the tab.

Here is what I have as the html in the body:

<div id="wrapper">
<ul><li><a href="Javascript:ShowContent('about');
                 Javascript:HideContent('graph')"
                 class="about"></a></li>

    <div class="portfolio"><a class="portfolio"><span>Portfolio</span></a></div>

    <div class="accordionContent">
            <a href="Javascript:HideContent('about');
                     Javascript:ShowContent('graph')"
                class="graph"></a>
    </div>
</ul>

The menu uses background graphics so I want to replace the original graphic with another. Also, as you can see I am using a accordion menu too. I’m not sure how much it will effect end code but I thought I should include that.

  • 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-31T17:34:28+00:00Added an answer on May 31, 2026 at 5:34 pm
    $(".tabHeader").click(function() {
        $(".selectedHeader").removeClass("selectedHeader");
        $(this).addClass("selectedHeader");
        // Do your other stuff to show the correct tab.
    });
    

    Your css rules for .selectedHeader can change color, background-image, etc.

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

Sidebar

Related Questions

I have seen numerous examples of the Command pattern But they all tend to
I have reviewed numerous reports of this error but the solutions I have seen
I have noticed that numerous Date methods in Java have been deprecated, but rather
I have seen numerous posts about the IE Webpage has expired error message, but
I have seen numerous posts on this and numerous answers, but I can't quite
I have seen numerous advice on stackexchange and all over the web suggesting that
I have seen numerous questions on MVP that mostly revolve around the View and
I have seen this talked about but never answered. Maybe it has and I'm
Ok, I've seen numerous variations on this question, but none exactly answer what I'm
I have seen numerous answers on here about creating an intent filter for a

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.