Quick Jquery slideUp/Down question

Posted by Scarface on Stack Overflow See other posts from Stack Overflow or by Scarface
Published on 2010-03-31T16:44:58Z Indexed on 2010/03/31 17:13 UTC
Read the original article Hit count: 375

Filed under:

Hey guys quick question, I have a function and it works when you click close, it slides up. However I want it to slide down by default when you first go to the page and it is just appearing right now, not sliding down.

$(document).ready(function(){

     $("#related2").slideDown();  

 $(".close2").click(function(event) {  
     event.preventDefault();  
     $("#related2").slideUp();  
 });  
 }); 

© Stack Overflow or respective owner

Related posts about jQuery