javascript - Mayhem: onMouseOver onMouseOut with div -


imagine moving mouse left right across webpage fragment:

enter image description here

the gray box div. want single onmouseover when mousing it, , single onmouseout when exiting it.

what (left right):

onmouseover div onmouseout div onmouseover flag onmouseout flag onmouseover div onmouseout div onmouseover usa onmouseout usa onmouseover div onmouseout div onmouseover 2 onmouseout 2 onmouseover div onmouseout div 

whew!

how can single onmouseover , onmouseout container div?

quirksmode has wonderful article on this.

although if feel using jquery can use mouseenter , mouseleave events.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -