I have the following code:
$('a.btn-slide').toggle(function() {
$("#DivToSlide").slideUp("fast");
// ...
}, function() {
$("#DivToSlide").slideDown("fast");
// ...
});
Later in my code, I want to find out if #DivToSlide
is in either the up or down position.
How do I do that?