jquery accordion question

jquery accordion question

I have an accordion menu that has 5 sections. When the web page loads, the first section auto expands. How can I set this so everything is collapsed and doesn't expand anything??

  1. $(document).ready(function(){
  2.       $(”.accordion h3:first”).addClass(”active”);
  3.       $(”.accordion p:not(:first)”).hide();
  4.       $(”.accordion h3″).click(function(){
  5.             $(this).next(”p”).slideToggle(”slow”)
  6.                   .siblings(”p:visible”).slideUp(”slow”);
  7.             $(this).toggleClass(”active”);
  8.             $(this).siblings(”h3″).removeClass(”active”);
  9.       });
  10. });


Thanks,

James