Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript to bring up context menu

Status
Not open for further replies.

tsorial

Programmer
May 9, 2002
5
US
Hi,

I would like to know if there is a way to bring up the browser context menu using the "Left button" of the mouse throught Javascript. The reason I would like to do this is that I want the users of my applications to be forced to "Save Target As" on the link. This link grabs an image from a remote server. At times, when the user clicks the link through a normal left-click, the image is loaded directly to the browser. I never want this to happen. So, my proposed to solution to this is to force the left click through onMouseDown or onClick methods to bring up the standard browser context menu. Please let me know of any ideas. I need this to be urgently done. I hope you can help me. Your help is greatly appreciated.


Thanks,
Tim


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top