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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:18:14+00:00 2026-06-17T07:18:14+00:00

I have 2 jquery functions: $(document).ready(function(){ $(#title).click(function(){ $(#click).delay(2700) .css({opacity: 0.0, visibility: visible}) .animate({opacity: 0.5

  • 0

I have 2 jquery functions:

$(document).ready(function(){
        $("#title").click(function(){
            $("#click").delay(2700)
                    .css({opacity: 0.0, visibility: "visible"})
                        .animate({opacity: 0.5
                      });
                 });
             });

and

$(document).ready(function(){
    $("#click").hover(
        function () {
          $("#card12").animate({top:'220px'},100);}, 
        function () {
          $("#card12").animate({top:'330px'},100);
         });
    });

This is how that’s work:
1. I click (div id = #title)
2. (div id=#click) will shows up with 2700ms delay
3. whenever I point my cursor to (div id=#click), (div id=#card12) will slides up

My problem is:
1. I accidentally pointed my cursor into (div id =#click) area before 2700ms (the delay for (div id=#click) to shows up)
2. Instead of ignoring it, the (div id=#card12) responded to that(sliding up) as soon as (div id=#click) has been completely loaded

e.g: I point my cursor to (div id=#click) area, and move out the cursor outside the area back and forth for 2 times before 2700ms( the delay before (div id=#click) shows up).

Instead of ignoring that 2 initial hover ( before the (div id=#click shows up)), jQuery will slides (div id=”#card12″) twice, as soon as (div id=#click” has been completely loaded ( even though my cursor is outside the the(div id=#click) ) area by the time it has been loaded

My questions is:
is that possible to ignore whatever happened before 2700ms (the #click delay before it shows up)?

P.S: I know it is easier if I can perform that using codePen/ jsFiddle. But I don’t know how to use codePen/ jsFiddle using 2 jquery-(ies?)

Thank you very much

  • 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-17T07:18:15+00:00Added an answer on June 17, 2026 at 7:18 am

    Put your hover jQuery in the callback of your first animate jQuery.

    $(document).ready(function () {
      $("#title").click(function () {
        $("#click").delay(2700).css({opacity: 0.0,visibility: "visible"}).animate({
          opacity: 0.5}, function () {
          $("#click").hover(function () {
            $("#card12").animate({top: '220px'}, 100);
          },function () {
            $("#card12").animate({top: '330px'}, 100);
          });
        });
      });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following jquery code: $(document).ready(function() { $(body[class*=page-calendar-practices] #content-header h1#title).after(<div id='athletics_practice-schedule'><div id='inner-title'><a href='www.example.com'
I have this jQuery: $(document).ready(function() { $(#panel).hide(); $('.login').toggle( function() { $('#panel').animate({ height: 150, padding:20px
I have pretty simple jquery code : $(document).ready(function(){ $('img.marqFl').on({ mouseenter: function() { $(this).animate({height: 300},
I have right now this code: <ul><li class=listitem>text<li></ul> jQuery: $('.listitem').click(function() { $(#elname).text($(this).text()); $('#slists').css('visibility','hidden') $('#elname').css('visibility','visible')
I have a jquery function whichh looks like this: <script type=text/javascript> $(document).ready(function() { $('a#id').click(function(e){
I have a image which has an mouseover jquery function: $(document).ready(function ()) { mouseenter:
I have the following jquery function > <script type=text/javascript> > > $(document).ready(function() { >
I have this jQuery code: $(document).ready(function() { $.ajax({ url: pages/+page+.php, cache: false }).done(function( html
I have my jQuery code like this $(document).ready(function () { var lastsel; $('#jqgProducts').jqGrid({ //url
I have some jQuery code that intercepts links clicked on a page: $(document).ready(function() {

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.