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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:47:25+00:00 2026-05-15T22:47:25+00:00

When the mouse starts hovering over an element because of scrolling (either by wheel,

  • 0

When the mouse starts hovering over an element because of scrolling (either by wheel, or by keyboard scrolling), it does not trigger a mouseover event on the elements it is hovering (Chrome 6 on OSX). What would be an elegant way to trigger the mouseover event for the correct elements when scrolling?

  • 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-15T22:47:26+00:00Added an answer on May 15, 2026 at 10:47 pm

    Honestly, this is gonna be a pain. You’ll have to

    1. determine the size and position of every element that should get a mouseover handler.
    2. add a scroll listener to the window.
    3. In the handler, get the mouse cursor position and pageOffset.
    4. Find out which element(s) the cursor is in.
    5. manually call the actual mouseover handler
    6. (Find out which elements the cursor has left, if you want some mouseout behaviour too)

    You may need to re-calculate the elements’ positions and sizes if they are dynamic. (move 1. beneath 3.)

    While this should work fine with block-level elements, I have absolutely no idea on a solution for inline elements.

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

Sidebar

Related Questions

Ideally I'd like a way to enable the mouse wheel for scrolling in old
I'm using the silverlight scrollbar and I'm finding that the mouse does not drag
I want to create a keyboard and mouse hook which will be started as
DataGridView.CellContentClick is not firing if I mouse click a DataGridViewCheckBoxCell very fast. How can
When I scroll in Emacs using mouse wheel, it scrolls 5 lines at a
I need to fire an event when the mouse is above a PictureBox with
I'm working on an online javascript canvas (not the HTML5 element, but a painting
When mouse nears top edge of scrollpane, it scrolls up until it reaches the
I want to use the mouse scrollwheel in my OpenGL GLUT program to zoom
Is there a way to limit mouse pointer movement to a specific area in

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.