.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT

Home >> Articles >> ASP.NET >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Simple Context Menu using JavaScript and html

Posted By:shankey       Posted Date: April 29, 2011    Points: 200    Category: ASP.NET    URL: http://www.dotnetspark.com  

Simple Context Menu using JavaScript and html. In this article we will see how to create Context Menu using javascript, CSS and HTML in asp.net

Main page

Context menu (Right click anywhere in the page)

Highlighted first menu item

Highlighted menu item

Html of menu

JavaScript to show menu on right click

JavaScript function to show menu on X and Y co-ordinates of mouse right click

Javscript Code of the above example


Css code of the MENU


HTML and Javascript calling function

Right click any where to view Context menu.


 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend