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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:46:30+00:00 2026-06-10T23:46:30+00:00

Finally my first -hopefully- easy question. I’m writing a tool for my clients, I

  • 0

Finally my first -hopefully- easy question.

I’m writing a tool for my clients, I plan to explain how to use it when I give them their access info, but just in case, I have pop-up “tooltips” to help them out.

I’m trying to put in a type of tutorial that will go through the elements on the page, pop-up their tool-tip, then go to the next element after a short delay (obviously hiding the element first)

Here’s what I’ve got:
“#show-help” is my button, “.hashelp” means the class has a tool-tip, “.help” is the actual tool tip.
Right now it’s highlighting all the “.hashelp” elements, but not showing me my tool-tips. I’m using “i” to incrementally delay each step.

$("#showhelp").click(function(){
         var i = 0;
            $(".hashelp").each(function(){
                $(this).find(".help").eq(0).css("top",$(this).offset().top +10);
                $(this).find(".help").eq(0).css("left",$(this).offset().left +10);
                $(this).delay(i*5000).effect("highlight", {color: "yellow"},5000);
                $(this).find(".help").eq(0).delay(i*5000).show().delay((i+1)*5000).hide();
                i++;
         });
    });

Any help would be great!

  • 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-10T23:46:31+00:00Added an answer on June 10, 2026 at 11:46 pm

    Your problem is with your use of delay(). Unfortunately, it only works with jQuery’s animation effect framework. This is explained explicitly in the delay() API docs1:

    Only subsequent events in a queue are delayed; for example this will
    not delay the no-arguments forms of .show() or .hide() which do not
    use the effects queue.

    So there’s a few options on how to handle it. The easiest (if maybe a bit performance-heavy) way to fix your code is to “animate” the show() and hide() by giving them a duration of 0:

    $(this).find(".help").eq(0).delay(i*5000).show(0).delay((i+1)*5000).hide(0);
    

    But you should also keep in mind that your first delay might not work because there might not be anything on the effects queue (this is a weak area of mine, so try it out and see). You might need to toss an extra hide(0) in there to ensure something is on the effects queue:

    $(this).find(".help").eq(0).hide(0).delay(i*5000).show(0).delay((i+1)*5000).hide(0);
    

    Only do this if you find it’s necessary to make things work.

    Alternatively, you can use a chain of setTimeout() calls, but that will be awkward to code, so only do it if you see performance issues.

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

Sidebar

Related Questions

Good morning, all. This is my first question on stackoverflow, so hopefully this isn't
I'm getting ready to finally deploy my first iPhone app. The app uses SSL
I've finally found a client for my hosted software - the first time I've
With all effort,I finally reached to the end of my first app in android.
I am doing my first Zend Application and I am finally done with the
Well, I finally decided to totally drop IE6. It's great. First big benefit which
I finally thought I had found a way to acutally use excel productively but
I finally figured out a good/easy way to make clean URLs with regex on
Finally, thanks to most of you, I got my first app approved by Apple.
this is my first post here. I'm excited to finally take part. I'm working

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.