JQuery: How to determine if Slide event is up or down?
<p>I have the following code:</p>

<pre><code>$('a.btn-slide').toggle(function() {
    $("#DivToSlide").slideUp("fast");
    // ...
}, function() {
    $("#DivToSlide").slideDown("fast");
    // ...
});
</code></pre>

<p>Later in my code, I want to find out if <code>#DivToSlide</code> is in either the <strong>up</strong> or <strong>down</strong> position. </p>

<p>How do I do that?</p>
