How can I have a mouseover/in one off check?
Posted
by Denis Hoctor
on Stack Overflow
See other posts from Stack Overflow
or by Denis Hoctor
Published on 2010-03-12T14:19:44Z
Indexed on
2010/03/12
14:47 UTC
Read the original article
Hit count: 402
Hi all,
How can I test if a mouse is within a given div? I know how to use events to do something when it occurs but is it possible to check it on pageload only?
What I want to do is smething like:
if(mouse is in specified div) {
check = true;
} else {
check = false;
}
Thanks, Denis
© Stack Overflow or respective owner