2009/11/1 Karl Swedberg <karl@englishrules.com>
I'd stick with what Scott said. Use mouseenter/mouseleave. But instead of setting the style with .css(), just add and remove a class. Here is a demo:http://jsbin.com/enero/editOn Oct 30, 2009, at 4:26 PM, jmatthews wrote:I tried them as the description in the reference was not clear as to
why it would be useful.
It doesn't solve the problem. That it does is make sure that if you
reached the child by entering over the parent, the child event will be
released only by exiting back over the parent.
Kind of odd.....
On Oct 30, 2:16 pm, Scott Sauyet <scott.sau...@gmail.com> wrote:On Oct 30, 9:30 am, jmatthews <jmatth...@xexam.net> wrote:
When I mouseover a child, it is thinking it is just the contents ofparent. I need to restrict mouseover to children only, regardless ofthe fact that they are encapsulated by parent.
You might want to look at the mouseenter and mouseleave events.http://docs.jquery.com/Events/mouseenter-- Scott
--
Un Abrazo
Marcos J. Riganti
+549 341 54996612
webmaster@nefertiter.com
No comments:
Post a Comment