Re: document-wide disable of mousedown
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: document-wide disable of mousedown

From: Thomas 'PointedEars' Lahn <PointedEars@web.de>
Date: Tue Jan 31 2006 - 23:44:47 CET

PJ6 wrote:

> "Evertjan." [...] wrote [...]
>>> What's the best way to disable OnMouseDown document-wide?
>> Polyurethane foam?
>>
>> It is your page, so, fix your clientside script.
>
> This is the very reason I hate JavaScript. In order to derive a global
> behavior I have to change every last godforsaken element that uses
> JavaScript.

This does not have anything to do with the JavaScript programming language,
or any programming language for that matter. It is a Document Object Model
(DOM) issue.

<URL:http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-flow>

PointedEars
Received on Tue Feb 7 21:29:22 2006