Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check if one div is hovering another - jQuery/Javascript [duplicate]

Basicly I want to check if one div is hovering another div, I've searched a lot for this, but couldn't find anything D:

I made a div that you can control by using the arrow keys, so now I want to check if that div is hovering another div, if so it should do something.

I really can't figure this out, please help.

like image 245
Mobilpadde Avatar asked May 15 '11 13:05

Mobilpadde


1 Answers

You may take a look at hitTestObject

like image 125
Dr.Molle Avatar answered Oct 13 '22 01:10

Dr.Molle