Did you try <a href="http://drupal.org/project/quicktabs">http://drupal.org/project/quicktabs?</a><div><br></div><div>Hans<br></div><div><br><div class="gmail_quote">2009/3/16 Fred Jones <span dir="ltr">&lt;<a href="mailto:fredthejonester@gmail.com">fredthejonester@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have a custom module which I must upgrade from D5 to D6. In D5 I<br>
used the tabs module (part of the jstools module) and code like:<br>
<br>
  $form[&#39;example1&#39;][&#39;tab2&#39;] = array(<br>
    &#39;#type&#39; =&gt; &#39;tabpage&#39;,<br>
    &#39;#title&#39; =&gt; t(&#39;Audio&#39;),<br>
    &#39;#url&#39; =&gt; base_path().&#39;ajax/nodelist/audio&#39;,<br>
    &#39;#target&#39; =&gt; &#39;media_tab&#39;,<br>
  );<br>
<br>
and it magically makes this tab link load the content via Ajax. OK,<br>
someone else wrote this code, but anyhow it works. I tried to do the<br>
same thing with the D6 tabs module (now not part of jstools) but no<br>
Ajax happens. :(<br>
<br>
There is also the magictabs module, but AFAICT that module creates all<br>
the content for all the nodes when the page is called, as opposed to<br>
what I want, which is to only generate the content for each node when<br>
it&#39;s requested, via a callback.<br>
<br>
I could write some jQuery code to do this myself I suppose, but I was<br>
wondering if there&#39;s a module that does this or if I the tabs module<br>
can do this?<br>
<br>
Thanks<br>
<font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Hans Rossel<br>KOBA Webdevelopment<br>Kerkstraat 228<br>9050 Gent<br>09-334.52.60<br>0472-79.32.16<br><a href="http://www.koba.be">www.koba.be</a><br><a href="mailto:info@koba.be">info@koba.be</a><br>

</div>