Dear Experts
I have following codes
<html>
<style type="text/css">
#menu {
position:absolute;
height:300px;width:200px;
margin-left:60px;margin-top:50px;
background:rgb(0%,100%,80%);
font-family:arial; font-size:30pt;font-weight:18px;
text-align:center;padding:20px;padding:10px;
}
#menu ul {margin:1px;}
#menu ul li {display:block;width:140px;background:orange;
font-family:arial; font-size:18pt;text-align:center;padding:1px;margin:1px;height:20px;text-decoration:none}
#menu ul li a:link {width:140px;background:rgb(0%,80%,40%);
font-family:arial; font-size:18pt;text-align:center;padding:1px;margin:1px;height:20px;}
#menu ul li a:hover {background:#e3eeff;text-decoration:underline;padding:1px;margin:1px;height:20px;}
#div1 {
position:absolute;
height:300px;width:200px;
margin-left:280px;margin-top:50px;
background:rgb(0%,80%,40%);
font-family:arial; font-size:30pt;font-weight:18px;
text-align:center;padding:20px;
}
#div2 {
position:absolute;
height:300px;width:200px;
margin-left:500px;margin-top:50px;
background-color:pink;
font-family:arial; font-size:30pt;font-weight:18px;text-align:center;padding:20px;
}
</style>
<div id="menu">
<ul>
<li><a href="">Hide Div 2</a></li>
<li><a href="">Show Div 2</a></li>
</ul>
</div>
<div id="div1">Div 1</div>
<div id="div2">Div 2</div>
</html>
My question is how to Show and Hide div with link as shown in attached file.
Please help