okay i setup an example using ditto:
http://www.gregtitcomb.com/tab-demo
here’s the content of the "tab-demo" resource:
<div id="tabs">
<div id="nav">
<ul>
[!Ditto? &parents=`57` &tpl=`tabLinks` &sortBy=`createdon ASC`!]
</ul>
</div>
<div id="data">
[!Ditto? &parents=`57` &tpl=`tabData` &sortBy=`createdon ASC`!]
</div>
</div>
then create your three resources underneath "tab-demo".
in the title field name them "one", "two", "three".
in the description field of the first one enter put ’class="active"’.
then put the content in each.
’tabData’ chunk:
<div id="[+pagetitle+]" [+description+]>
[+content+]
</div>
’tabLinks’ chunk:
<li onclick="javascript:doShow(this, '[+pagetitle+]');" [+description+]>[+pagetitle+]</li>
that should get you started.