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


Top 5 Contributors of the Month
david stephan

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

 Subscribe to Articles

Simple Menu using javascript and html

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

Simple Menu using javascript and html, In this article we will see how to create Vertical and horizantle Javascript menu using CSS in asp.net
 


Main menu


All submenu items



Google menu item which will navigate to www.google.com



Wiki menu item which will navigate to www.wiki.org





JavaScript function to highlight menu item





JavaScript function to de-highlight menu item



JavaScript function to show entire menu


 
JavaScript function to hide entire menu



JavaScript function to initialize whole menu





Html to create top menu and its sub menu items.


 

Full code

 


Full code of CSS

 


Menu Code

  

You can also download the sample project example from below link


 Subscribe to Articles

     

Further Readings:

Responses

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