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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:18:17+00:00 2026-06-04T00:18:17+00:00

This is what I did . As you can see, there is freaking mess

  • 0

This is what I did.
As you can see, there is freaking mess when you hover over text fast. I want so that “wave” effect would not mess up after second immidiate hover and only after that “wave” effect can be done again.
Thnx in advance!

  • 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-04T00:18:18+00:00Added an answer on June 4, 2026 at 12:18 am

    http://jsbin.com/aqorip/3/

    You should add running variable which must be true while animation is processing. if this variable is true, we will not start new animation. Callback of animate will be called after the end of enimation. We can check if it is last letter or not and set running to true if it is.

    $(function() {
      $('h1').lettering();
      $('h1 span').css('position','relative');
      var running = false;
      $('h1').hover(function(){
        if (running) return;
        running = true;
        var childs = $(this).children("span");
        childs.each(function(i){
          $(this).delay(i*50).animate({ top:'-10px' }, 100, function(){
            $(this).animate({top: 0}, function() {
              if ($(this).is(childs.last())) {
                running = false;
              }
            });
          });
        });
        setTimeout(function() {
          running = false;      
        }, children.count * 150);
      }, function(){
        $(this).children('span').animate({ top: 0 }, 100);
      });
    });
    

    Notice that you had unused variable i. You shouldn’t declare it because you have i as an argument of a function. So first i in your code will be hidden behind the argument i.

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

Sidebar

Related Questions

I see that there are A LOT of related questions on this one, and
Please check out this url: Youtube Instant Search As you can see there is
I have the following code, and I can see that there is a connection
How can I create tabs in matlab gui? I did something like this a
I'm sure someone can explain this. we have an application that has been in
Have any other iPhone developers experienced this phenomenon? I can see his contributions in
I've had this before, but can't seem to replicate the steps I did back
i did this: this.combobox.ItemsSource = Common.Component.ModuleManager.Instance.Modules; to bind the combobox to a collection, which
I did this: [User.first, User.last].to_xml and got this: <users type=array> <user> <created-at type=datetime>2010-03-16T06:40:51Z</created-at> <id
I did this in Perl, but how do you the same in python? Example:

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.