Welcome to WebmasterWorld Guest from 34.237.76.249

Forum Moderators: open

Message Too Old, No Replies

Javascript Right click menu

     
12:22 pm on Dec 30, 2008 (gmt 0)

New User

10+ Year Member

joined:Dec 30, 2008
posts: 2
votes: 0


Can anyone help me in creating a JavaScript function for right click menu option.This is similar to user selects a folder then performs right click and a menu is displayed with some options.Please provide me a sample code for right click menu.
Thanks in advance
1:20 pm on Dec 30, 2008 (gmt 0)

Senior Member

joined:Aug 12, 2004
posts:1781
votes: 0


Google is your friend [google.com]
4:46 pm on Dec 30, 2008 (gmt 0)

New User

10+ Year Member

joined:Dec 30, 2008
posts:2
votes: 0


i could not find the exact code thru gooogle.. anyone help me with sample pls
5:04 am on Dec 31, 2008 (gmt 0)

Junior Member from IN 

10+ Year Member

joined:July 19, 2004
posts:136
votes: 0


Hi,

You can make use of the following events

event.which and event.button to recognize which mouse click was done.

Based on this you could further right the code.

Best Regards.