Menu bar slide responsive html css and JavaScript

 

Menu bar slide responsive html css and JavaScript.

Example of Javascript Code:

<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("#flip").click(function(){
$("#panel").slideToggle("slow");

    });

  });
</script>
<style>
#panel,#flip {
padding: 5px;
text-align: center;
background-color: #de45a3;
border: solid 1px #c3c3c3; }
#panel {
padding: 50px;
display:none;
}
</style>
</head>
<body>
<div id="flip">Click to This MENU</div>
<div id="panel">
<div class="menu">
<ul>
<li><a href="#">Video</a></li>
<li><a href="#">Audio</a></li>
<li><a href="#">Image</a></li>
<li><a href="#">Map</a></li>
</ul>
</div>
</div>
</body>
</html>


Next Post Previous Post
No Comment
Add Comment
comment url