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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:24:40+00:00 2026-05-25T17:24:40+00:00

I have a div with a form inside it. The form is small, consists

  • 0

I have a div with a form inside it. The form is small, consists of one or two dropdown/textboxes. I’m wondering what would be required to do the following:

  • when I click on a link, a tooltip pops up with the form in it. It appears over top of the link that I clicked so that when it appears the mouse is over top of it.
  • when the mouse exits the bounds of the tooltip, it disappears.

Doing some googling, all of the tooltip examples I found appear upon hovering over a given area. All the jQuery popup examples I seen are modal and force the user to explicitly close it.

Does anyone know of a way that I can have a tooltip work as described above?

  • 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-25T17:24:41+00:00Added an answer on May 25, 2026 at 5:24 pm

    If you can’t find a plugin that works, what you described is pretty straight forward to implement.

    You just have to bind a mousemove event to the document and check to see if its target or its target’s parents are your tooltip.

    This example is for a trigger button that is right next to the tooltip, but it might work for having it directly over the trigger as the trigger then wouldn’t be hovered.

    $("#trigger").hover(function () {
        // move the tool tip div into place
        // show the tool tip
    }, function () {    
        $(document).bind('mousemove.tooltip', function (e)
        {
            if (e.target.id !== 'tooltip' && $(e.target).parents('#tooltip').length === 0)
            {
                // close tooltip
                $("#tooltip").hide();
                $(document).unbind('mousemove.tooltip');
            }
        });
    });
    

    Here is a rudimentary fiddle that works as described:

    http://jsfiddle.net/5h3Zy/5/

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

Sidebar

Related Questions

I have an add form inside a div which has 3-5 textboxes.. I submit
I have a div inside of a table which is inside of a form
I have the following code (inherited from someone): <div class=feedback>&nbsp;</div> <form onsubmit=return false autocomplete=off>
I have a div inside form something like <form> <div> showing some information here
This is a HTML email. I have two tables inside each other. One set
I am using the following script to clone a div with form elements inside;
I have container did and there are many divs inside that div. In one
I have a form. The form contains a text field inside of a div.
I have a form inside a jquery ui modal dialog, when I click the
I have a form inside a div with a transparent color. I'd need to

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.