Passing true / false to slideToggle()
this will be a pretty basic questions.

In JQuery, I know that we can pass true or false value to the function to toggle visibility of an element. I can't get slideToggle to do the same thing. Any help please?

for example, instead of: 

    if(true)
        $('something').slideDown();
    else
        $('something').slideUp();

I would really like to do something similar to: 

    $('something').toggle(myBoolValue);

But I want to do it with toggle.

Look at [my example of jsfiddle](http://jsfiddle.net/fy3vy/) to know what I am trying to do.

Is that possible?

thanks,

yours truly. 
Passing true / false to slideToggle()
===

this will be a pretty basic questions.

In JQuery, I know that we can pass true or false value to the function to toggle visibility of an element. I can't get slideToggle to do the same thing. Any help please?

for example, instead of: 

    if(true)
        $('something').slideDown();
    else
        $('something').slideUp();

I would really like to do something similar to: 

    $('something').toggle(myBoolValue);

But I want to do it with toggle.

Look at [my example of jsfiddle](http://jsfiddle.net/fy3vy/) to know what I am trying to do.

Is that possible?

thanks,

yours truly. 