Right having spent the last few days trying to work this out i am coming up a few brick walls. What I am trying to do is query the child categories of a specifically named $category-tab, create an id from the the name of each of the child categories, print a link to # (for some js to work) then show the posts of $category in another 2 divs named $category-panel and $category-content.
I have two ways that I have tried that seem from a number of searches that could do the trick though neither quite seem to work. Any thought on how to make either work (or another solution) would be great!
[Code moderated as per the Forum Rules. Please use the pastebin]
Also may have to make the whole thing one long query for it to work in multiple instances (ie for more than 1 subcategory to produce an additonal <li> and set of divs.