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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:29:21+00:00 2026-06-11T01:29:21+00:00

i came across the following question which is pretty much what i need except

  • 0

i came across the following question which is pretty much what i need except one thing.

image enlarge on hover with content inside div box attached to image

best answer example:
http://demo.superdit.com/jquery/zoom_hover/

when i’m on mouseover and then mouseout a couple of times very fast, the animation continues to play a couple of times way after the mouse is out.

how can the animation play only once after mouseout without jagged movement ?

thanks.

  • 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-11T01:29:23+00:00Added an answer on June 11, 2026 at 1:29 am

    Below is the working code.

    $(document).ready(function() {
      var cont_left = $("#container").position().left;
      $("a img").each(function() {
        var $this = $(this);
        var left = $this.position().left, top = $this.position().top;
        $(this).hover(function() {
          // hover in
          $(this).parent().parent().css("z-index", 1);
          $(this).stop().animate({
            height: "250",
            width: "250",
            left: left - 50,
            top: top - 50
          }, "fast");
        }, function() {
          // hover out
          $(this).parent().parent().css("z-index", 0);
          $(this).stop().animate({
            height: "150",
            width: "150",
            left: left,
            top: top
          }, "fast");
        });
      });
    
      $(".img").each(function(index) {
        var left = (index * 160) + cont_left;
        $(this).css("left", left + "px");
      });
    });​
    

    Changes made:

    • Added .stop().
    • Fixed positioning of the animation to make it compel with .stop() (make it stoppable.)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question regarding the following code snippet I came across in one
I came across this post , which reports the following interview question: Given two
I've been looking at this question and came across the following code in one
I came across the following question : How many times will the following for
While studying for a Functional Programming exam, I came across the following question from
I came across the following regular expression below on one of my code, anyone
I came across the following question. Given an array of n elements and an
I'm learning LINQ and came across the following code in one of the books:
I'm trying to learn Objective C. I came across the following code which the
I tried to do some research on this and came across the following question

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.