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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:05:57+00:00 2026-05-20T18:05:57+00:00

Why does delay() work here: $(‘#tipper’).mouseout(function() { $(‘#tip’).delay(800).fadeOut(100); }); But this fails to delay:

  • 0

Why does delay() work here:

$('#tipper').mouseout(function() {
  $('#tip').delay(800).fadeOut(100);
});

But this fails to delay:

$('#tipper').mouseout(function() {
  $('#tip').delay(800).css('display','none');
});

// EDIT – here’s a working solution

// EDIT 2 – some bugs fixed

$('#tipper').mouseleave(function() {
  setTimeout( function(){
    $('#tip').css({'display','none'});
       },800);
});
  • 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-20T18:05:57+00:00Added an answer on May 20, 2026 at 6:05 pm

    delay() works with the animation (fx) queue. Changing a css property does not work via that mechanism, and thus is not affected by the delay directive.

    There is a workaround — you can inject the property change as a queued operation, like this:

    $('#tip')
      .delay(800)
      .queue(function (next) { 
        $(this).css('display', 'none'); 
        next(); 
      });
    

    Also, you should probably be using .hide() instead of .css('display','none').

    Here’s a working example: http://jsfiddle.net/redler/DgL3m/

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

Sidebar

Related Questions

Why this delay of Jquery animation does not work as it should be? $(
Why does this empty the text immediately (ignoring delay)? $('#error_box_text').html('error text').delay(5000).html('') # jQuery 1.4
Here is the code I use to attach the div: $(#sessions).prepend(tempct); $(#sessions>div:first-child).hide().slideDown(1000).delay(100,function(){ $(#sessions>div:first-child).click(); $(#renamemeeting).click();
In jquery I have a button with a fading effect: function blinky() { $('#ButtonContent_btnSubmit').delay(100).fadeTo(100,
Does anyone have a translate function for x/y positions after rotation in javascript? for
I have a jquery based slider on the page. This slider calls a function
I hope someone can help... This issue has been discussed here and I have
So, I have had this working on Ubuntu before. But then I upgraded to
I've seen a number of posts on this subject, but none that leave me
My LogIn action originally looked like this: return new RedirectResult(nameValueCollection[ReturnUrl]); But, I would like

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.