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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:42:40+00:00 2026-05-12T11:42:40+00:00

I have an image on my page and when the user hovers over it

  • 0

I have an image on my page and when the user hovers over it with their mouse a tool tip (Using the qtip plugin) is displayed. The only problem with this is when the image loads if the cursor is already hovering over the image the onmouseover event isn’t fired and the tooltip doesn’t show unless the user moves the cursor off the image and then back on. Is their another event I should be using or a better way of doing 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-12T11:42:41+00:00Added an answer on May 12, 2026 at 11:42 am

    I wanted to suggest checking if the user is over the image on the image’s onload event, but it seems that there is no way to check the status of the mouse being over the image (at least in jQuery). So, you might want to try using jQuery’s live event with mouseover and mouseout. I have my doubts that this would sidestep the problem, but it’s worth a shot:

    jQuery(function(){
        $('img.has_tooltip').live('mouseover', function(){
            $(this).showTooltip(); });
        $('img.has_tooltip').live('mouseout', function(){
            $(this).hideTooltip(); });
    });
    

    If that doesn’t work maybe you could use the mousemove event:

    jQuery(function(){
        $('img.has_tooltip').mousemove(function(){
            $(this).showTooltip(); });
        $('img.has_tooltip').live('mouseout', function(){
            $(this).hideTooltip(); });
    });
    

    This should work as soon as the user moves their mouse instead of the user having to move their mouse compeltely off the image. Not ideal, but it would work for all but the pausing user.

    Of course, with both of these examples, switch the xxxTooltip methods with the proper one from the qtip plugin.

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

Sidebar

Related Questions

I have an aspx page,where the user will enter a valid image url(ex :
i have a page for a small mobile site that has an image that
I have a page with a few fields and a runtime-generated image on it.
I have an ASPX page where I am uploading an image to server for
I have a web page that includes a bunch of images. Sometimes the image
I have image data and i want to get a sub image of that
I have: image 1:Many imageToTag Many:1 tag I want to issue a query that
I have an image and on it are logos (it's a map), I want
I have an image of a basic game map. Think of it as just
I have loaded image into a new, initialized Oracle ORDImage object and am processing

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.