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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:57:45+00:00 2026-05-19T11:57:45+00:00

I am trying to get a popup to show when the mouse enter a

  • 0

I am trying to get a popup to show when the mouse enter a button.

It should then hide if the user leaves the popup.

But for a good user experience, the popup should also stay open if the user goes back on the button.

So when the mouse gets out of the popup, the mouse leave event is triggered, but I don’t want to handle it if the mouse entered the button at the same moment.

Is there any way of knowing if the mouse is over another control in the mouse leave event?

I have tried many different approach without success. Tell me if you have a different approach to the problem too!

  • 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-19T11:57:46+00:00Added an answer on May 19, 2026 at 11:57 am

    Set a timer when the MouseLeave event on your popup is fired, along with a boolean, perhaps called closingPopup, to true. The timer will set closingPopup to false and hide the popup. On the MouseEnter event of the button, if closingPopup is true, then stop the timer and set the boolean to false.

    That or a variant of that should get you what you want. You can give it a 1/4 second delay that way. Or any amount that seems responsive.

    Edit: You should probably also add the same check to MouseLeavefor the button. (Glad I could help!)

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

Sidebar

Related Questions

So I'm trying to get a popup box to show when a user rates
Trying to get an ASP application deployed; it worked for a while but then
I'm new to jquery. I'm trying to get an alert box to popup with
Im trying to get a CDialog that has no border or frame to show
Below is my code I am trying to get to work but I really
I'm trying to get my application to display a popup context menu when a
I am trying to get a modal popup to work, it needs to be
I am trying to get a webview into a popup dialog. I can get
I'm trying to make a simple pop-up <div> that's designed to show mouse coordinates
I am trying get a div that I have hidden to show in the

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.