onmouseout + layer

G

Gu

hi to all!
i have a strange behaviour when applying onmouseout to a layer. it is
not trigged when the pointer goes out of the _layer_ but when it goes
off the _text within_ the layer.
any idea?
tia
 
M

Martin Honnen

Gu said:
i have a strange behaviour when applying onmouseout to a layer. it is
not trigged when the pointer goes out of the _layer_ but when it goes
off the _text within_ the layer.

The mouse can only be over exactly one node thus if you move the mouse
over a child node mouseout is fired on the parent node and mouseover on
the child node (and events bubble up so you can also see changes
happening inside of a container element at the container element's
onmouseout handler).

See
<http://www.faqts.com/knowledge_base/view.phtml/aid/1606/fid/145>
on how to handle that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top