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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:00:39+00:00 2026-05-24T05:00:39+00:00

I have a few images lined up next to eachother, and whenever i hover

  • 0

I have a few images lined up next to eachother, and whenever i hover one of the images, a tooltip appears for that image (with some information etc). The tooltip infomration is loaded with ajax, but that’s irrelevant.

The problem is that the tooltip is loaded when i hover one of the images, and it disappears whenever i hover outside of it. So i am not able to hover over the tooltip, which i need to be able to.

So i thought of the solution to log every element i’m hovering over in an object. Like this:

$('*').mouseenter(function() {
    currently_hovering = $(this);
});

and then when i hover out of the image, check if the mouse is hovering over the tooltip, and if it is, then do nothing, if it’s not, then hide the tooltip. Sounds good, right? But for some reason it refuses to log whenever i mouse over the tooltip. It still acts as if i am over the image (but the tooltip flashes terribly when i move the mouse around in it).

I am assuming it doesn’t log over the tooltip because it is absolutely positioned? It is positioned above the image (that way i’m able to move the mouse to it without hiding the it). I’ve tried using mouseenter/mouseover and hover, all with the same result.

Are there any solutions to this?

  • 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-24T05:00:40+00:00Added an answer on May 24, 2026 at 5:00 am

    Part of the problem can be the fact that you are loading the information with ajax.

    You need to use the live() function on data added to the page after the normal page load for scripts to work on the said data.

    Sort of like this:

        $('.day').live('mouseover mouseout',function(e) {
            if (e.type === 'mouseover') {
                $(this).addClass('day-hover');
            } else {
                $(this).removeClass('day-hover');
            }
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few iFrames that all use a single background image. Whenever I
I'm using flex and have a few images that I need to sequence through.
I have a fair few images that I'm loading into a ListBox in my
I have a folder with a few background images (one.jpg, two.jpg, three.jpg) , and
I have a few html image tags that fill an array. On the page
I have populated an array with a few html image tags that I have
I have a few JPG Images. Some of them may have a black border
I have some large ASCII images that I want to check are symmetrical. Say
i have form in drupal which uploads images and has got few checkboxes in
Currently, I have a few hundred image files, hosted in Google Drive. I wish

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.