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]
|