Slide up the <div> element "slowly". - Javascript jQuery

Javascript examples for jQuery:Slide

Description

Slide up the <div> element "slowly".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $("div").slideUp("slow");
});/* w ww .  j  a  v a  2  s .c  om*/
</script>
</head>
<body>

<div style="width:80px;height:80px;background-color:red;"></div>

</body>
</html>

Related Tutorials