You'll need to manually call the available functions for expanding/ collapsing a menu item if you're talking about menu items with no sub menus associated with them (ie: the "Dynamic Drive" item), as technically, they are not associated with the script in any way. You may do something like the below instead to manually collapse all the contents:
Code:
<a class="menuitem" href="http://www.dynamicdrive.com/" onClick="jQuery('.categoryitems').hide()">Dynamic Drive</a>
where "categoryitems" should be the shared CSS class name of your contents. There's a similar discussion here: http://www.dynamicdrive.com/forums/s...d.php?p=154368
Bookmarks