Reply to Re: ul/li menu problem, not stopping onmouseout

Your name:

Reply:


Posted by Andy Dingley on 11/10/15 11:47

shard wrote:
> My problem is that I have a <ul> with some <li>s in it, when I move
> between the <li>s
> I get a mouseout event, as I would expect, but the event.toElement is
> the document.body, not the ul?

So what's the problem? What are you doing with a .toElement property
that requires it to be accurately located in a page element, or where
you can't just assume it explicitly.

I can't think of a use for .toElement that isn't tightly coupled to
notions of physical page layout (which it's probably accurate for). If
you're using it to reset some menu-related highlighting function then
you can assume it as the parent menu, you don't need to know where the
mouse actually ended up.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация