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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:46:04+00:00 2026-06-04T19:46:04+00:00

I have 5 links on page, when i click on each link it will

  • 0

I have 5 links on page, when i click on each link it will change the color but as soon as ma=ove my cursor and place on other area of page, the focus on active link gets disappear. so I am not able to show the current link state. please tell me how to fix

  • 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-04T19:46:06+00:00Added an answer on June 4, 2026 at 7:46 pm

    Html

    <tr>
     <td>
      <a href="#" class="linkbold">Basic2</a>
     </td>
    </tr>
    <tr>
     <td>
      <a href="#" class="linkbold">Basic3</a>
     </td>
    </tr>
    <tr>
     <td>
      <a href="#" class="linkbold">Basic4</a>
     </td>
    </tr>
    

    Css

    .linkbold{ color:#0066FF; font-family:Tahoma; font-size:11px; text-decoration:none; font-weight:bold !important; }
    .active { color: red; } // define any color for active class
    
    // you can use css shorthand for font property
    .linkbold { font: bold 11px Tahoma, sans-serif; color:#0066FF; }
    

    If you want to know more about css shorthand

    ​Jquery

    $('a.linkbold').on('click', function(){
        $('a.linkbold').removeClass('active'); // remove any active class
        $(this).addClass('active'); // and then add active class for clicked element.
    });​
    

    Working example here

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

Sidebar

Related Questions

I have some links on my web page. When you click them Fancybox windows
I have an index page with three links as follws. When I click the
I have some textboxes on a page and I want to click a link
hi i have a page contains a link , when user click the link
i have a page , with a link , if the user click the
I have three links. I want each link to control a separate DIV (I
In Spring 3.0 if i have a jsp page with two different links each
i have a page with a link , when use clicks the link a
I have links on a ,page that I want to use to jump to
I have links like these: www.domain.com/page.php?id=1#info I'd just like to hide the .php to

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.