html:
css:
div{
display: none;
}
ul,li{
list-style:none;
padding:0;
}
li{
width:100px;
border-top:1px solid #ddd;
text-align:center;
padding:5px;
}
button{
background:dodgerblue;
border:0;
color:#fff;
padding:5px 20px;
}
js:
var isClick=true;
$("#btn").click(function(){
if(isClick){
$("div").css("display","block");
isClick = false;
}else{
$("div").css("display","none");
isClick = true;
}
})