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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:08:13+00:00 2026-06-03T08:08:13+00:00

I am having a sample navigation menu , have a look I want that

  • 0

I am having a sample navigation menu , have a look
I want that the effect which I am having on the hover , I want the same effect when a link is clicked.The current link should have the same effect.I think I need to use jquery for that.Sorry if I am not explaining my question well.
Any suggestions are welcome , 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-06-03T08:08:15+00:00Added an answer on June 3, 2026 at 8:08 am

    you could use the pseudo-class :active. (Its CSS for clicked state) and optionally :focus . If you want the effect to stay you gonna need to do it with jquery:

    $(function(){
      $(".menu").on("click", "a", function(){
        $(this).addClass("active").siblings().removeClass("active");
      });
    });
    

    then you can add you effect to the active class… Here is a demo:
    http://jsfiddle.net/meo/kt4yb/6/

    Or you could simply use the :visited pseudo class, if the your links point to different URL’s

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

Sidebar

Related Questions

I guess that I am missing something here. After having found this sample within
I'm having trouble getting a sample program to link correctly (in this case against
i came across a sample gdbinit file, which was having following statements. can anyone
I am having a sample Silverlight app that contains a combo box with thousands
I'm having an annoying problem, that may have a simple answer! I have a
I am looking to create a dynamic XML navigation menu, which is made of
Stack, I'm having difficulty creating a good drop down navigation menu using only css.
I'm having a weird problem. I have a div that is hidden via css
I have a menu built with jquery from apycom.com that I am trying to
I want to modify part of my base navigation menu based on a flag

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.