Article View: microsoft.public.inetsdk.programming.scripting.jscript
Article #14Re: rightclick of links, buttons, etc..
From: Crazy like a fox
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
11 lines
1397 bytes
1397 bytes
for the first question only add : event.returnValue = false; where you process the right click for the second one test the source of the click : if (event.srcElement.classname == something).... you have to put a class attribute named 'something' in the elements you are going to click on there are other ways to do this of course but this is a simple one regards Nicolas Joguet
Technical Details
Message-ID:
<37F4BF81.344FFDB1@sw.seisy.abb.se>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37f4b2f4@news.kapsch.co.at>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4a5,5999b3778b037568 X-Google-Attributes: gid10d4a5,public X-Google-Thread: 10731d,5999b3778b037568 X-Google-Attributes: gid10731d,public X-Google-Thread: fb3cb,5999b3778b037568 X-Google-Attributes: gidfb3cb,public X-Google-Thread: 10c71c,5999b3778b037568 X-Google-Attributes: gid10c71c,public X-Google-Thread: fcc66,5999b3778b037568 X-Google-Attributes: gidfcc66,public From: Crazy like a fox <c1njogue@sw.seisy.abb.se> Subject: Re: rightclick of links, buttons, etc.. Date: 1999/10/01 Message-ID: <37F4BF81.344FFDB1@sw.seisy.abb.se> X-Deja-AN: 531548847 Content-Transfer-Encoding: 7bit References: <37f4b2f4@news.kapsch.co.at> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: ABB Sweden Mime-Version: 1.0 Newsgroups: microsoft.public.inetsdk.programming.scripting.jscript,microsoft.public.scripting.jscript,borland.public.intrabuilder.javascript,comp.lang.javascript,de.comp.lang.javascript