Reply to Re: Body OnClick event... detect name/id of element clicked on?

Your name:

Reply:


Posted by Noozer on 09/05/05 07:32

"Toby Inkster" <usenet200509@tobyinkster.co.uk> wrote in message
news:osnru2-m8i.ln1@ophelia.g5n.co.uk...
> Noozer wrote:
>
>> Is it possible to detect where on a page the click occurred when the
>> OnClick event of the BODY tag is fired?
>
> Yes, but it's bloody tricky.
>
> "Mission Impossible - mouse position" by Peter-Paul Koch.
> http://www.evolt.org/article/Mission_Impossible_mouse_position/17/23335/

Ick... that doesn't look very friendly at all.

.... so any idea if it's possible to detect where in a document a click
occurs (ie, within which element, or span or div, etc?)

Thx

[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

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