Slide Down & Slide Up
<p>I am using Slide down &amp; Up it's working fine. But my problem is when user open this page it slide Up if user click then only slide down. </p>

<pre><code>&lt;script type="text/javascript"&gt;
    jQuery(function ($) {
        $(".block-layered-nav dt").click(function () {
            if ($(this).next("dd").css("display") == "none") {
                $(this).next("dd").slideDown(1000);
                $(this).removeClass("closed");
            } else {
                $(this).next("dd").slideUp(1000);
                $(this).addClass("closed");
            }
        });
    });
&lt;/script&gt;
</code></pre>

<p>What mistake i done</p>