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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:40:28+00:00 2026-06-09T15:40:28+00:00

In the following link there is an example for an animated hover effect .

  • 0

In the following link there is an example for an animated hover effect . If we hover the mouse in a particular list the tool-tip will appear and disappear, here no problem. If we continuosly move the mouse up & down in a particular list the tool-tip appear for several times (for example if we move the mouse for ten times the tool-tip also appear for ten times).

How to overcome from this issue (i.e) if we hover the particular list for several time,the tool-tip should appear only once.

I tried it by changing the script as (by adding stop() function)

    $(".menu a").hover(function() {
    $(this).next("em").stop().animate({opacity: "show", top: "-75"}, "slow");

but it’s failed….

  • 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-09T15:40:29+00:00Added an answer on June 9, 2026 at 3:40 pm

    use .stop(true, true) to stop the animation. Check the working demo.

    $(document).ready(function(){
        $(".menu a").hover(function() {
            $(this).next("em").stop(true, true).animate({opacity: "show", top: "-75"}, "slow");
        }, function() {
            $(this).next("em").stop(true, true).animate({opacity: "hide", top: "-85"}, "fast");
        });
    });
    

    Explaination:

    .stop(true, true) will remove the queued animation and complete the current animation immediately.

    .stop( [clearQueue] [, jumpToEnd] )
    

    clearQueueA Boolean indicating whether to remove queued animation as
    well. Defaults to false.

    jumpToEndA Boolean indicating whether to complete the current
    animation immediately. Defaults to false.

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

Sidebar

Related Questions

http://jsfiddle.net/SXrAb/ Following the jsfiddle link there is a simplified sample of what I need.
In dapper code in Link.TryAdd method, there is the following piece of code: var
In the following example http://twitter.github.com/bootstrap/base-css.html#forms There is a text field with text Type something...
Following link , I'm wondering if there're some side effects of enabling C++0x in
I was following the example in the following link to try out listbox in
I have following example What it should do: check is there .box-wrapper in the
For example I have the following link: http://broodds.com/index.php/en/component/bet/?view=oddsdetails&bet_id=4e9dc53b96df3&odds=q1 I don't want to give access
I do tutorial in following link: Java RMI Tutorial After I compile successfully three
I have the following three tables. I am trying to inter link (join) among
I have the following link on index page <td align=center><a href=../athena/admin/update.php?id=' . $data [keyword]

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.