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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:24:21+00:00 2026-06-04T13:24:21+00:00

Has anyone an idea how achieve such a functionality? I have two absolutely positioned

  • 0

Has anyone an idea how achieve such a functionality?
I have two absolutely positioned divs in such way:

enter image description here

And what I want to do is that div1 is listening for mouseover and mouseout events and div2 for mouse click.
When I am moving mouse on div2 the mouseout event triggers on div1 and I don’t want it to.
I want that user could move a cursor on div2 without triggering div1 mouseout (because div1 is behind div2 so actually user did not move a cursor out) and click div2.

I am NOT using a jQuery but is someone could point me how to do this in jQuery and add some details how jQuery is handling such a problem then I will love that answer too 😉 but still I prefer jQuery free answer.

  • 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-06-04T13:24:22+00:00Added an answer on June 4, 2026 at 1:24 pm

    The mouseout feature is intended to work so.

    You might filter out the behaviour of your mouseout event callback checking if

    event.relatedTarget != div2
    

    rgds

    edit: regarding to the click on div2, please comment any further problem you could be experiencing but I don’t think there should be any.

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

Sidebar

Related Questions

I wonder if anyone has an idea how you have to transform an image
Has anyone an idea how pipebytes.com works ? I need to implement similar system
Has anyone got any idea why the menu is rendering below the rotating images
Has anyone migrated a VB6 project to .Net with Visual Studio 2010? I have
Has anyone any idea why the resulting exe from a build comes with a
has anyone an idea how to make an usb-connection in an android ap to
I have a WCF service that has methods with the PrincipalPermission attribute on them.
anyone has an idea of how this kind of background is created? http://www.papervision3d.org/ i'm
I have an application that has many threads processing data. As part of this
Has anyone any idea how to prevent IE(7) wrong breaking urls? Here is 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.