Why does this div that I toggle with slideToggle("slow") start out open?
<p>I found this sliding panel script I like at <a href="http://www.webdesignerwall.com/demo/jquery/" rel="nofollow">http://www.webdesignerwall.com/demo/jquery/</a>, (#1 Sample Slide Panel) and played with it in my sandbox.  The page loads both in the example, and my sandbox, closed.</p>

<p>So, I change it a bit to fit my needs, and got it working just the way I wanted, and was feeling pretty proud of myself, and then it hit me - In my implementation, the page loads with it open.  I need it to be closed.</p>

<p>This is driving me mad, especially because they haven't decided if it's cool for us to start using JQuery in our main project, and I'm using it here, because it's for a one off, standalone tool.  I know it'll look really cool to management, and am hoping they'll say, 'Well, that's nifty.  You all should use that JQuery thing in the main project.'</p>

<p>Here's the page itself:</p>

<pre><code>    &lt;p class="slide" style="float: left; width: 10px;"&gt;
        &lt;a href="#" id="slider_1" class="btn-slide"&gt;&lt;/a&gt;
    &lt;/p&gt;
    &lt;span style="padding-left: .1em;"&gt;Filter&lt;/span&gt;
    &lt;br /&gt;
    &lt;div class="slidepanel" id="panel1" &gt;

    A TABLE
    &lt;/div&gt;
</code></pre>

<p>And then the JQuery script:</p>

<pre><code>$(document).ready(function(){

    $(".btn-slide").click(function(){
        var number = $(this).attr("id").split("_")[1];
        $("#panel"+number).slideToggle("slow");
        $(".slide").toggleClass("active"); return false;
    });

});
</code></pre>

<p>And finally the css portion:</p>

<pre><code>.slidePanel {
    background: #754c24;
    height: 400px;
    display: none;
}


.slide {
    margin: 0;
    padding: 0;
    background: url(../images/menu_closed.gif) no-repeat center top;
}


.btn-slide {
    background: url(../images/menu_closed.gif) no-repeat right -50px;
    text-align: center;
    width: 144px;
    height: 31px;
    margin: 0 auto;
    display: block;
    font: bold 120%/100% Arial, Helvetica, sans-serif;
    color: #fff;
    text-decoration: none;
}


.active {
    background: url(../images/menu_open.gif) no-repeat center top;
}
</code></pre>
