Week 1: Exercise 3 (p.33-34)

slideDown: Here we are using the jQuery library and using the slideDown() function to run an animation to slide in a specific section of the page.

The slideDown function of jQuery is animating the content within this DIV and making it slowly slide into visibility.

Notes:


See the code:

<-- Link to the jQuery library stored in a local folder -->
<script src= "../_js/jquery-1.6.3.min.js"></script>
	
<-- Call the jQuery fadeIn function and specify what to fade in and for how long -->
<script>
$(document).ready(function(){
  $('body').hide().fadeIn(3000);
});
</script>