Author: Webvanta
This JavaScript/WebvantaScript code displays a tree navigator widget for all the "normal" categories (categories marked "special" are excluded). This code is adapted from Yahoo's YUI library.
<h2>Explore by Category</h2>
<w:category_tree type='html' id="tree" />
<script type="text/javascript">
$(function() {
$("#tree").treeview({
collapsed: true,
animated: "fast",
prerendered: false,
persist: "location"
});
});
</script>