This post is in Draft Mode - it will not appear on the site or in search results

Adding a context menu to the web

Context Menus have been a long established design concept in traditional desktop applications. As web application development matures, the ability to integrate more sophisticated features becomes available. In this post, we'll learn how to use a context menu in an online application using HTML, JavaScript, and CSS.

For starter's we'll need to tap into the right click event on a webpage. Using jQuery we can listen to particular html elements for the contextMenu event. This is pretty well supported in most browsers