Originally Posted by suhas.singh
I have similar requirement to this can you help please
let me explain....
for example....if we right click on an image or a link we get options like open in new window, open in new tab, save link as and etc......
I want this....if I left click on an image it should give me similar drop down where I can include my options like add as friend,,,send message and etc....
There seems to be a ton of problems with detecting mouse clicks on different browsers.
In some cases, the default actions cannot be bypassed even after click has been detected.
I would suggest looking into a different approach to avoid problems to begin with.
For example: Some computers don't have a right button to click on the mouse!
You will not be able to get to any options you define with a right click on those machines.
Search this forum or google for some of the problems associated with "right mouse click".
In particular: http://unixpapa.com/js/mouse.html