Can't Change CSS Bottom with jQuery
<p>I'm having trouble getting the "else" bit of this working. Anyone know what the problem is?</p>

<pre><code>var navOpen = false;
                if (navOpen == false) {
                    $("nav").click(function() {
                        $(this).css("bottom","0");
                        navOpen = true;
                    });
                } else {
                    $("nav").click(function() {
                        $(this).css("bottom","-84");
                        navOpen = false;
                    });
                }
</code></pre>
