Jquery ul Submenu slidetoggle issue
<p>I'm building a shop using oscommerce and have a menu using an addon which displays an unordered list for the categories.
The UL list displays like so...</p>

<pre><code>    &lt;ul id='suckertree1'&gt;&lt;li&gt;&lt;a href='index.php?cPath=21'&gt;Summer&lt;/a&gt;
        &lt;ul&gt;
          &lt;li&gt;
            &lt;a href='index.php?cPath=21_23'&gt;Bikes&lt;/a&gt;
          &lt;ul&gt;
           &lt;li&gt;&lt;a href='index.php?cPath=21_23_28'&gt;E-Bikes&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href='index.php?cPath=21_23_27'&gt;Mountainroad&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href='index.php?cPath=21_23_26'&gt;Road Bikes&amp;nbsp;(1)&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
     &lt;/li&gt;
    &lt;li&gt;&lt;a href='index.php?cPath=21_24'&gt;Clothing&lt;/a&gt;
    &lt;ul&gt;
       &lt;li&gt;&lt;a href='index.php?cPath=21_23_28'&gt;Gloves&lt;/a&gt;&lt;/li&gt;
       &lt;li&gt;&lt;a href='index.php?cPath=21_23_27'&gt;Shoes&lt;/a&gt;&lt;/li&gt;
       &lt;li&gt;&lt;a href='index.php?cPath=21_23_26'&gt;Protection&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;

&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;
    &lt;a href='index.php?cPath=22'&gt;Winter&lt;/a&gt;
    &lt;/li&gt;
    &lt;/ul&gt;
</code></pre>

<p>I'm using jquery to hide a portion of the menu. When you click on Bikes - it then displays the submenu of that.  The problem I have is, that the submenu links do not link, they close the menu again..</p>

<p>Here is my (terrible) jQuery code</p>

<pre><code>$(document).ready(function() {
    $("ul#suckertree1 li ul li ul").hide();
    $("ul#suckertree1 li ul li a").click(function(e) {
        e.preventDefault();
        $("ul#suckertree1 li ul li ul").slideToggle();
    });
});
</code></pre>

<p>Because of the limitations with this menu, I am unable to assign classes or ID's to the menu other than the #suckertree1 already in place.
How can I prevent the preventDefault() from effecting the submenu points? and also, clicking an item to only toggle the submenu below?</p>

<p>Thanks</p>

<p>James</p>
