title: Jquery Toggle Button image and Div Show/Hide
body: <p>I'm trying to create a toggle button image that also show's and hides a div.</p>
  
  <p>This is working:
  //html</p>
  
  <pre><code>    &lt;body&gt;
      &lt;header&gt;
          &lt;script&gt;
              $(document).ready(function () {
                  $('a#button').click(function () {
                      $(this).toggleClass("down");
                      $("nav").show("slow");
                  });
              });
              &lt;/script&gt;
          &lt;a id="button" title="button"&gt;&lt;/a&gt;
          &lt;nav style="display: none"&gt;
              &lt;ul&gt;
                  &lt;li&gt;NAV&lt;/li&gt;
              &lt;/ul&gt;
          &lt;/nav&gt;
  
      &lt;/header&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>//css</p>
  
  <pre><code>    a {
      background-image: url(../images/menu_on.gif);
      cursor: pointer;
      width: 50px;
      height: 50px;
      display: block;     
      }
  
  a.down {
      background-image: url(../images/menu_off.gif);
      cursor: pointer;
      width: 50px;
      height: 50px;
      display: block; 
      }
  </code></pre>
  
  <p>How do I get it to hide the "nav" again?</p>