Article View: microsoft.public.inetsdk.programming.scripting.jscript
Article #5Re: event handler for right mouse button in JS, possible?
From: Jim Ley
Date: Wed, 29 Sep 1999 00:00
Date: Wed, 29 Sep 1999 00:00
18 lines
1656 bytes
1656 bytes
Rafael Rasinger <rasinger@atc.co.at> wrote in message news:37f1ea4e@news.kapsch.co.at... > Hi Vidar! > > Thanx for your answer! > > but I need it in JS. You need a lesson in the distinction between Object Models and the Language - Vidar posted JScript code which did what you asked (although it won't work in Netscape ISTR, since onMouseDown can't be added inline like that to the body object - look at captureEvent() in netscape docs - the faq at http://www.irt.org, or ones listed in the meta-faq at http://www.squeaky.demon.co.uk/jn/meta-faq.html will answer the question with complete code..) Jim.
Technical Details
Message-ID:
<#RiIidmC$GA.283@cppssbbsa04>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37f1c30a@news.kapsch.co.at> <uGiUVrlC$GA.291@cppssbbsa02.microsoft.com> <37f1ea4e@news.kapsch.co.at>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4a5,ac438531d738d94e X-Google-Attributes: gid10d4a5,public X-Google-Thread: 10731d,ac438531d738d94e X-Google-Attributes: gid10731d,public X-Google-Thread: fcc66,ac438531d738d94e X-Google-Attributes: gidfcc66,public X-Google-Thread: 10c71c,ac438531d738d94e X-Google-Attributes: gid10c71c,public X-Google-Thread: fb3cb,ac438531d738d94e X-Google-Attributes: gidfb3cb,public From: "Jim Ley" <Jim@jibbering.com> Subject: Re: event handler for right mouse button in JS, possible? Date: 1999/09/29 Message-ID: <#RiIidmC$GA.283@cppssbbsa04> X-Deja-AN: 530661641 References: <37f1c30a@news.kapsch.co.at> <uGiUVrlC$GA.291@cppssbbsa02.microsoft.com> <37f1ea4e@news.kapsch.co.at> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-MSMail-Priority: Normal Newsgroups: microsoft.public.inetsdk.programming.scripting.jscript,microsoft.public.scripting.jscript,borland.public.intrabuilder.javascript,comp.lang.javascript,de.comp.lang.javascript