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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:43:36+00:00 2026-05-18T03:43:36+00:00

Block is blinking on .hover() Here is a full example – http://jsfiddle.net/xBEjQ/ How to

  • 0

Block is blinking on .hover()

Here is a full example – http://jsfiddle.net/xBEjQ/

How to fix this?

UPD: popup should be removed after the mouse leaved the smaller block (.image), not .popup block.

  • 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-05-18T03:43:37+00:00Added an answer on May 18, 2026 at 3:43 am

    For updated Question: Since the mouse events won’t occur on that smaller element (it’s completely overlapped) you’d have to use a third <div> like this:

    <div class="block">
        <div class="popup"></div>
        <div class="popup upper"></div>
        <div class="image"></div>
    </div>
    

    And add this CSS (note the higher z-index than the other .popup):

    .upper { width: 100px; height: 100px; z-index: 41; }
    

    and script to match:

    $(".block .image").mouseenter(function(){
        console.log($(this).siblings(".popup").length);
      $(this).siblings(".popup").show();
    });
    $(".block .upper").mouseleave(function(){
      $(this).siblings(".popup").andSelf().hide();
    });
    

    You can test it out here.


    For previous question: Since the popup is over top of the element, use the mouseenter on the trigger, mouseleave on the popup, like this:

    $(".block .image").mouseenter(function(){
      $(this).siblings(".popup").show();
    });
    $(".block .popup").mouseleave(function(){
      $(this).hide();
    });
    

    You can test it here.

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

Sidebar

Related Questions

jQuery('.block').append(html); How do I run livequery on this append? I've http://fancybox.net on my image,
$(.block li).hover( function(){ $(this).animate({backgroundColor: #000}); }, function(){ $(this).animate({backgroundColor: #fff}); } ); Need to change
http://dev.viral-minds.com/miller/abc/abc.html two questions about this How do I keep the green block from blinking
It looks like this block directly flushes the output. What's the practical use of
I have a block of code in C like this- enum colors { //---->I
This block of code essentially takes a JAXB Object and turns it into a
I have a block of codes here: SortedList<char, int> alpha = new SortedList<char, int>();
Can anyone tell the block animation equivalent of this below code snippet? [UIView beginAnimations:@View
The fields_for block doesn't output in a has_many relationship. This problem came up in
I have this animation with me, a sort of blinking animation, such that when

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.