jquery searching thru multiple divs
<p>I'm trying to make a sliding table with jquery, but because jquery sliding doesn't work too good with tables I have to wrap the content in divs</p>

<p>I've already tried to write something like:</p>

<pre><code>    $("div.headhook").mouseenter(function () {
//$(this).parent().next("div.bodyhook").slideToggle("slow");
$(this).closest("div").nextAll("div.bodyhook").slideToggle("fast");
});
</code></pre>

<p>but it doesn't work</p>

<p>Here's a part of my table structure (there are more theads and tbodys):</p>

<pre><code>     &lt;table id="forum-0" class="forum-table"&gt;
                                   &lt;thead class="thead5" style=""&gt;&lt;tr id="forum-list-5" class="odd first-row container container-5" &gt;
                        &lt;th colspan="5" class="container"&gt;
            &lt;div id="headhook5" class="headhook"&gt;
              &lt;div class="forum-details"&gt;

                &lt;div class="container_name name"&gt;
                  &lt;a href="/forum/5"&gt;Forum title&lt;/a&gt;
                &lt;/div&gt;
                                  &lt;div class="description"&gt;Forum description&lt;/div&gt;
                              &lt;/div&gt;
              &lt;/div&gt;
            &lt;/th&gt;
                            &lt;tr&gt;&lt;td colspan="5" class="container_header"&gt;&lt;/td&gt;&lt;/tr&gt;

                      &lt;/tr&gt;
          &lt;/thead&gt;
        &lt;tbody class="tbody5"&gt;

            &lt;tr class="accordion-fix"&gt;&lt;td colspan="5" width="940px" height="0" class="accordion-fix"&gt; 
            &lt;div id="bodyhook5" class="bodyhook"&gt;
                                &lt;table&gt;
         &lt;tr id="forum-list-11" class="even middle-row in-container-0"&gt;

            &lt;td class="forum-icon"&gt; &lt;span id="thmr_23" class="thmr_call"&gt;

  &lt;img src="/sites/all/modules/advanced_forum/styles/naked/images/forum-folder.png" alt="folder" title="folder" width="30" height="27" /&gt;&lt;/span&gt;

 &lt;/td&gt;

            &lt;td class="forum-name2"&gt;
                              &lt;div class="forum-details"&gt;
                  &lt;div class="name"&gt;&lt;a href="/forum/11"&gt;Forum A&lt;/a&gt;&lt;/div&gt;
                                  &lt;/div&gt;
                          &lt;/td&gt;

            &lt;td class="topics"&gt;
              &lt;div class="num num-topics"&gt;
               1              &lt;/div&gt;
            &lt;/td&gt;

            &lt;td class="num posts"&gt;
              2            &lt;/td&gt;

            &lt;td class="last-reply"&gt;
              &lt;span class="last-reply-timestamp"&gt;2010-11-09 11:51&lt;/span&gt; &lt;br/&gt;
              &lt;span class="last-reply-name"&gt;jan&lt;/span&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;/table&gt;
                                &lt;table&gt;

         &lt;tr id="forum-list-12" class="odd middle-row in-container-0"&gt;

            &lt;td class="forum-icon"&gt; &lt;span id="thmr_24" class="thmr_call"&gt;
  &lt;img src="/sites/all/modules/advanced_forum/styles/naked/images/forum-folder.png" alt="folder" title="folder" width="30" height="27" /&gt;&lt;/span&gt;

 &lt;/td&gt;

            &lt;td class="forum-name2"&gt;
                              &lt;div class="forum-details"&gt;
                  &lt;div class="name"&gt;&lt;a href="/forum/12"&gt;Forum B&lt;/a&gt;&lt;/div&gt;

                                  &lt;/div&gt;
                          &lt;/td&gt;

            &lt;td class="topics"&gt;
              &lt;div class="num num-topics"&gt;
               0              &lt;/div&gt;
            &lt;/td&gt;

            &lt;td class="num posts"&gt;

              0            &lt;/td&gt;

            &lt;td class="last-reply"&gt;
              &lt;span class="last-reply-timestamp"&gt;&lt;/span&gt; &lt;br/&gt;
              &lt;span class="last-reply-name"&gt;&lt;/span&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;/table&gt;

                                &lt;table&gt;
         &lt;tr id="forum-list-13" class="even middle-row in-container-0"&gt;

            &lt;td class="forum-icon"&gt; &lt;span id="thmr_25" class="thmr_call"&gt;
  &lt;img src="/sites/all/modules/advanced_forum/styles/naked/images/forum-folder.png" alt="folder" title="folder" width="30" height="27" /&gt;&lt;/span&gt;

 &lt;/td&gt;

            &lt;td class="forum-name2"&gt;
                              &lt;div class="forum-details"&gt;

                  &lt;div class="name"&gt;&lt;a href="/forum/13"&gt;Forum C&lt;/a&gt;&lt;/div&gt;
                                  &lt;/div&gt;
                          &lt;/td&gt;

            &lt;td class="topics"&gt;
              &lt;div class="num num-topics"&gt;
               0              &lt;/div&gt;
            &lt;/td&gt;

            &lt;td class="num posts"&gt;
              0            &lt;/td&gt;

            &lt;td class="last-reply"&gt;
              &lt;span class="last-reply-timestamp"&gt;&lt;/span&gt; &lt;br/&gt;
              &lt;span class="last-reply-name"&gt;&lt;/span&gt;
            &lt;/td&gt;
        &lt;/tr&gt;

        &lt;/table&gt;
                                      &lt;/div&gt;
          &lt;/td&gt;&lt;/tr&gt;
          &lt;/tbody&gt;
</code></pre>
