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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:04:11+00:00 2026-06-04T21:04:11+00:00

I stumbled upon this jQuery snippet: $(.faded).each(function(i) { $(this).delay(i * 400).fadeIn(); });​ See it

  • 0

I stumbled upon this jQuery snippet:

 $(".faded").each(function(i) {
   $(this).delay(i * 400).fadeIn();
 });​

See it in action: http://jsfiddle.net/RExZs/

Anyway I’m trying to turn it into a hover function, so when you hover over a nav-menu button, the div’s fade in with this cool delay effect. And then when the mouse leaves, the div’s should disappear. It’s for a “STORE” button (anchor), so this will be used to display a list of products when they hover it.

So far all I’ve come up with is:

  $(".products").hover(function(){   // I added THIS line
   $(".products-list").hide().each(function(i) { 
   $(this).delay(i * 400).fadeIn();  
    }); 
 });   // and of course, THIS line

The problem is that it starts displaying the div’s as soon as the page loads, LOL.

Now, when I hover the “STORE” button, the effect is perfect, but then when the mouse leaves it starts all over again, reloading those div’s.

Either help me, or tell me where I can go to get over my damn jQuery addiction. 🙂

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-04T21:04:13+00:00Added an answer on June 4, 2026 at 9:04 pm

    You need separate behaviour for mouse-in and mouse-out.

    You also need to stop any existing animations when you toggle, with the extra true parameters telling it to empty the animation queue and jump to the end of the current animation.

    $(".products").hover(function() {
       $(".products-list").stop(true).each(function(i) { 
           $(this).delay(i * 200).fadeIn();  
       }); 
    }, function() {
        $(".products-list").stop(true, true).fadeOut();
    });
    

    See http://jsfiddle.net/alnitak/tvCBq/ for demo

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

Sidebar

Related Questions

Today I stumbled upon this thread: http://www.mathworks.com/matlabcentral/newsreader/view_thread/112560 The question is basically how to make
I stumbled upon this site http://www.swell3d.com/ and I think that in the future we
I stumbled upon this site http://nathanborror.com/ and really loved the way they have done
Doing some code reading and stumbled upon this snippet that I haven't seen before:
I stumbled upon this article http://www.thefloatingfrog.co.uk/css/my-hatred-of-br-clearall/ When would one need to use that ?
Some of you might have stumbled upon this cute article - http://igoro.com/archive/quicksort-killer/ \ What
Recently searching for a 'technical article' I stumbled upon this Microsoft page: http://academic.research.microsoft.com/ .
Recently stumbled upon this neat little bug or 'feature' in PHP: function myCmpFunc($a,$b) {
I stumbled upon this site http://www.fujinonbinos.com/ , and almost laughed out loud at the
I'm using this code I stumbled upon to 'clean up' urls with jquery: .replace(/[^\w

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.