You can use a simple addListener like so:
http://blog.davglass.com/files/yahoo/
FYI, I am also using the YAHOO.namespace in the example.
Dav Glass
dav.glass@...
davglass.com
618.694.3476
+ Windows: n. - The most successful computer virus, ever. +
+ A computer without a Microsoft operating system is like a dog
without bricks tied to its head +
+ A Microsoft Certified Systems Engineer is to computing what a
McDonalds Certified Food Specialist is to fine cuisine +
YAHOO.util.Event.addListener([HTMLObject], 'contextmenu', CallBackFunction);You can see a working example here:
http://blog.davglass.com/files/yahoo/
FYI, I am also using the YAHOO.namespace in the example.
dav.glass@...
davglass.com
618.694.3476
+ Windows: n. - The most successful computer virus, ever. +
+ A computer without a Microsoft operating system is like a dog
without bricks tied to its head +
+ A Microsoft Certified Systems Engineer is to computing what a
McDonalds Certified Food Specialist is to fine cuisine +
----- Original Message ----
From: mark.deibert <mark.deibert@...>
To: ydn-javascript@yahoogroups.com
Sent: Sunday, July 23, 2006 3:34:11 PM
Subject: [ydn-javascript] How do I catch rightClick?
From: mark.deibert <mark.deibert@...>
To: ydn-javascript@yahoogroups.com
Sent: Sunday, July 23, 2006 3:34:11 PM
Subject: [ydn-javascript] How do I catch rightClick?
I can't find any info here or in the docs. How do I listen for mouse
rightClick events?
Thanks guys :-)