<!DOCTYPE html>
<html>
<head>
<title>jQuery slideUp() method</title>
<script src="jquery-latest.min.js"></script>
<script>
$(document).ready(function() {
$("#click").click(function(){
$("#slide").slideUp("slow");
});
});
</script>
<style type="text/css">
#slide, #click {
font-family: Verdana;
font-size: 14px;
background: #CCCCCC;
border: 1px solid #c3c3c3;
text-align: center;
}
#slide {
height: 60px;
}
</style>
</head>
<body>
<div id="slide">
<p>This paragraph text represent slide panel text and it's running slide effect.</p>
</div>
<p id="click">Click me to slide down</p>
</body>
</html>