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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:59:14+00:00 2026-06-02T05:59:14+00:00

As mentioned in another question earlier, I have a system that displays content and

  • 0

As mentioned in another question earlier, I have a system that displays content and highlights a button based on the hash tag. This is working fine for the most part, but if you hover the button, it then loses it’s active state.

Here’s a [working example][1] of the problem.

I’ve tried .hover(function() {return false;}); but unfortunately this didn’t work (though I guess I didn’t expect it to…!). I’ve also tried disabling the button (then re-enabling it when you click another one) which was perfect in Firefox, but the text was greyed out in IE7.

Would greatly appreciate any help or suggestions, thank you 🙂

  • 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-02T05:59:16+00:00Added an answer on June 2, 2026 at 5:59 am

    To start with your button are submitting the #, it doesn’t make the link go to another page but it generates some unwanted scrolling. You should avoid that like this.

    $('#showScarringReports').click(function(ev){ ev.preventDefault(); });
    

    After if you want the active state to stay you can disable the event handler which make it switch from active back to what it was. So again with first one as example.

    $('#showScarringReports').unbind('mouseout keyup mouseup hover');
    

    Once active it will stay active, to remove the active state then just remove the class ui-state-hover from the button.

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

Sidebar

Related Questions

In an answer to another question it was mentioned that passing XML as a
In another question , someone mentioned this site which blew me away: http://zoomii.com Does
Ok so in another question something was being discussed, and this link was mentioned:
Here is another question I have about being able to calculate this scenario in
I had another question in SO about setTimeout() , where a user mentioned that
I just saw this mentioned in Stack Overflow question Best WYSIWYG CSS editor and
another noob question regarding F#. If I have the following code... let ExeC =
As I mentioned in another question Matlab - Can't call function because it says
In another question I posted someone told me that there is a difference between:
This is a followup to another question I asked abou creating your own hooks.

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.