Jquery Question about toggling a layer
<p>Website <a href="http://bit.ly/euXvuJ" rel="nofollow">http://bit.ly/euXvuJ</a></p>

<p>I'm doing the following to toggle the mouse. But when your mouse travels about half way down on the #sideshoppingcart div, the whole div goes away.</p>

<pre><code>$(document).ready(function() {

    $("li#menu-item-170").hover(function() {
            wwd_shopping_cart_collapser();
        },function() {
            wwd_shopping_cart_collapser();
        });
}

function wwd_shopping_cart_collapser() {
  switch($("#sideshoppingcart").css("display")) {
    case 'none':
    $("#sideshoppingcart").slideToggle("fast",function(){
            $.post( 'index.php', "ajax=true&amp;set_slider=true&amp;state=1", function(returned_data) { });

        });
    break;

    default:
    $("#sideshoppingcart").slideToggle("fast",function(){
            $.post( 'index.php', "ajax=true&amp;set_slider=true&amp;state=0", function(returned_data) { });

        });
    break;
    }
  return false;
}
</code></pre>
