title: jQuery - slideToggle keep open until closed
body: <p>I'm creating af slide panel for the userOptions for my members. It's working nicely with: </p>
  
  <pre><code>//Login panel, slideUp when clicked &lt;-&gt; slideDown
  $('#loginPanel').click(function(){
      $('#userNav').slideToggle('fast');
  });
  </code></pre>
  
  <p>But I would like the panel to stay open when you refresh the page or go to another page on the website. If the user close the panel it has to stay closed, untill opened again etc. </p>
  
  <p>Is this possible?</p>
  
  <p><strong>* Add to answer *</strong></p>
  
  <p>For the instant "slide" i just added 1 to the speed: </p>
  
  <pre><code>$('#div').slideToggle(1);
  </code></pre>
  
  <p>and same for the other ones in the $.cookie.</p>