Jquery Slide-- Slide Down
The Jquery Slide methods gradually changes the height for selected elements.for slide doen we use this method-
$(selector).slideDown(speed,callback)
codes---------
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function (){
$(".flip").click(function(){
$(".panel").slideDown("slow");
});
});
</script>
<style type="text/css">
div.panel,p.flip
{
margin:0px;
padding:5px;
text-align:center;
background:#e5eecc;
border:solid 1px #c3c3c3;
}
div.panel
{
height:120px;
display:none;
}
</style>
</head>
<body>
<div class="panel">
<p>this post is to define the slide down process</p>
<p>in the slid define it shows the JQuery slide methods</p>
</div>
<p class="flip">Show panel</p>
</body>
</Html>