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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:34:04+00:00 2026-06-06T11:34:04+00:00

I am showing a bigger size image when mouse is hovered over a thumbnail.

  • 0

I am showing a bigger size image when mouse is hovered over a thumbnail. Both the thumbnail image and the bigger size image are created dynamically, I am using clip effect to show the bigger size image.
When mouse is moved away from the thumbnail the bigger size image must be removed. Here is my code.

$(".uploadThumb").live('mouseover mouseout', function(event) {
           if (event.type == 'mouseover') {
                var src = $(this).prop("src");
                var img = $("<img class='big_thumb' src='"+src+"' width='400'/>");
                $(this).after(img);
                img.hide().show("clip", { direction: "horizontal" }, 1000);
              } else {
                  $(this).siblings(".big_thumb").remove();
              }
});

When I move the mouse over the thumbnail the bigger image is appearing correctly, and if I wait for the animation to complete and then move away the mouse from the thumbnail it is getting removed perfectly.
But, If I move away the mouse before the animation(clip) is complete the bigger image is not removed

Here is a demo of my problem

Is there any solution or I have to remove the animation :((

  • 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-06T11:34:06+00:00Added an answer on June 6, 2026 at 11:34 am

    Are you really need to use sibilings method?

    You just can write:

    $(".big_thumb").remove();
    

    And everything should work.

    See updated demo.

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

Sidebar

Related Questions

Select only showing first character of option text in IE 9 Using click on
Showing a 'share' link in a textfield within a tooltip using qTip2 . The
showing bad quality image on ruby on rails websit ruby script: <div align=center> <p
Im showing the AirPrint options from a UIButton using the presentFromRect method, everything is
I am showing two activities, one activitie bigger than the other. I'm doing it
I'am using a Flexicious Datagrid for showing some basic information. This datagrid has a
i'm having 2 problems using uitableview custom headers: 1) The bigger one is that
for showing full size images on my site I've decided to use Jquery.colorbox ,
When showing a progress bar over WPF window during some process, I would like
I'm using a QMainWindow as a primary window, and call QMainWindow::show() in main.cpp before

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.