Re: document-wide disable of mousedown
- From: "Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx>
- Date: 31 Jan 2006 16:12:24 GMT
PJ6 wrote on 31 jan 2006 in comp.lang.javascript:
> "Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx> wrote in message
> news:Xns975CA8A3B8928eejj99@xxxxxxxxxxxxxxxxxx
>>> 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. I acknoweldge that some ways are better than others, but
> still.
>
> Assuming I have quite a few controls with their own scripts (ASP.NET),
> I would have you suggest to me which approach you recommend.
>
No, you would not, because this is a javascript NG and not a .net one.
Javascript cannot be blamed for what other technologies do with it.
Please instead hate .net technology. They have their own NGs.
Furthermore, onmousedown is not Javascript,
in IE vbscript works just as well:
==============
<script type='text/vbscript'></script>
<button onmousedown = "for i=0 to 10:confirm(i):next">
count</button>
==============
Would this vbs do any better?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
.
- References:
- document-wide disable of mousedown
- From: PJ6
- Re: document-wide disable of mousedown
- From: Evertjan.
- Re: document-wide disable of mousedown
- From: PJ6
- document-wide disable of mousedown
- Prev by Date: Re: Performance: inline- vs. prototype-defined methods ?
- Next by Date: Re: text-decoration
- Previous by thread: Re: document-wide disable of mousedown
- Next by thread: Re: document-wide disable of mousedown
- Index(es):