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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:50:24+00:00 2026-05-23T14:50:24+00:00

When hover triggers this code: jQuery(‘#test’).animate({opacity: 1},300); And user hovers and unhovers very quickly

  • 0

When “hover” triggers this code:

jQuery('#test').animate({opacity: 1},300);

And user hovers and unhovers very quickly the “#test” item blinks for a long time (of course opacity is being animated to 1 on hover and to 0 on unhover).

Adding stop() always worked for me:

jQuery('#test').stop().animate({opacity: 1},300);

The point is I have to use fadeIn() and fadeOut() and I’m not sure how to avoid blinking in this case?

Live example: http://jsfiddle.net/caHq5/ (move your pointer very fast from the dark square to the background, then to the square, then to the background and so forth). stops() do nothing.

  • 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-23T14:50:24+00:00Added an answer on May 23, 2026 at 2:50 pm

    Is this the effect you were after?

    jQuery(document).ready(function() {    
        jQuery('#container').hover(function(){
            jQuery('#wrong').stop().fadeTo(200,1);
                },function() {
            jQuery('#wrong').stop().fadeTo(200,0);
                });
    });
    

    If really you want the element to be hidden after it has faded, as opposed to just invisible:

    jQuery(document).ready(function() {    
        jQuery('#container').hover(function(){
            jQuery('#wrong').stop().show().fadeTo(200,1);
                },function() {
            jQuery('#wrong').stop().fadeTo(200,0, function() {$(this).hide()});
                });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The CODE function wkHover(){ $('.worksItem').hover(function() { $(this).animate({ top: '-10px' }, 300, 'swing', {queue: false});
How do I unbind hover in jQuery? This does not work: $(this).unbind('hover');
$(a).hover(function(){ $(this).animate({ 'padding-left': '+=10px' }, normal); }, function(){ $(this).animate({ 'padding-left': '-=10px' }, normal); });
I'm using jQuery to animate a height change on hover(). Upon hover, it'll apply
i am very new at jquery and code, here i am trying to get
I have this jquery code that for a normal browser allows you to have
http://jsfiddle.net/umbriel/CvhkM/1080/ In this fiddle I have managed to code so that when I hover
I have the following scenario... When I hover over span.share-this , it triggers a
Please, considere this CSS code: a { color: #ffcc00; } a:hover { color: #ccff00;
I've created DIV.cb-toggle, when the user hovers over this div, it animates to Orange,

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.