[jQuery] slideToggle Problem

[jQuery] slideToggle Problem


Hello,
I am using this code to slide a div up/down:
$("#slide").click(function(){
    $("#slider").slideToggle("slow");
    $(this).toggleClass("active");
});
It works alright, just like it's supposed to, but how can I have the
#slide div be in the up position by default? Right now it's always
down when the page loads...
Thanks for the help,
Bo











    • Topic Participants

    • bo