C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » Javascript »

Simple menu control


Posted Date: 23 Oct 2009    Resource Type: Code Snippets    Category: Javascript
Author: kishore chMember Level: Gold    
Rating: 1 out of 5Points: 2



simple menu control




<html>
<head>

<script>
function toggle(e){
if (e.style.display == "none"){
e.style.display = "";
}
else{
e.style.display = "none";
}
}
</script>

</head>

<body>

<div style="cursor: hand" onclick="toggle(HideShow1);">
Microsoft Office
</div>

<span style="color: blue" id=HideShow1><b>
<a href="#">Word

<a href="#" ppt.htm>PowerPoint</a><br>
Access<br>
FrontPage
</b></span>

<div style="cursor: hand" onclick="toggle(HideShow2);">
Programming
</div>

<span style="color: blue" id=HideShow2><b>
<a href="#">C++</a><br>
Visual C++<br>
C#<br>
Visual Basic<br>
Perl <br>
</b>></span>
<br>


</body>

</html>






Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Simple menu control using javascript  .  Simple menu control  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Show/Hide Text using javascript
Previous Resource: Reading XML Data from JavaScript
Return to Discussion Resource Index
Post New Resource
Category: Javascript


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use