<!-- Header for navigation
<div id="navid1">
<a href='#'>tier 1 navigation element title<a>
<div>
<div id="navid1body">
<ul>
<li>a href="index.php?id=1" title="link title 1">Link title 1</a></li>
<li>a href="index.php?id=2" title="link title 2">Link title 2</a></li>
<li>a href="index.php?id=3" title="link title 3">Link title 3</a></li>
</ul>
</div>
<div class="navbase"></div>
<!-- Header for navigation
<div id="navid2">
<a href='#'>tier 1 navigation item title 2<a>
<div>
<div class="navbase"></div>
[[Wayfinder? &startId=`0` &level=`2` &hereTpl=`wfHereTpl` &outerTpl=`wfOuter` &innerTpl=`wfInner` &innerRowTpl=`wfInnerRowTpl` &innerHereTpl=`wfInnerHereTpl` &parentRowTpl=`wfParentRow` &parentRowHereTpl=`wfParentRowHereTpl` &categoryFoldersTpl=`wfCategoryFoldersTpl` ]]
<!-- wParentRow --> <div class='NavType1Expander' id="nav6"><a href='#'>Curriculum Vitae</a></div> <div class='NavType1Container' id="nav6Body"> <ul> <!-- wfInner --> wfInnerRowTpl </ul> </div> <div class='NavType1ExpanderBase'></div> <!-- Navigation component end -->
<li><a href="index.php?id=8" title="Work history" >Work history</a></li>
Any ideas?
(At the moment I am leaning towards leaving wayfinder generate a standard nested ul & li list and to use JavaScript to assemble the navigation once the page has loaded).
My wayfinder call looks like so:
[[Wayfinder? &startId=`0` &level=`2` &hereTpl=`wfHereTpl` &outerTpl=`wfOuter` &innerTpl=`wfInner` &innerRowTpl=`wfInnerRowTpl` &innerHereTpl=`wfInnerHereTpl` &parentRowTpl=`wfParentRow` &parentRowHereTpl=`wfParentRowHereTpl` &categoryFoldersTpl=`wfCategoryFoldersTpl` ]]
<!-- ########################### NAV START ########################### --> <div id="site-nav"> <div id="Nav"> <!-- wfHereTpl --> <!-- wParentRow --> <div class='NavType1Expander' id="nav6"><a href='#'>Curriculum Vitae</a></div> <div class='NavType1Container' id="nav6Body"> <ul> <!-- wfInner --> wfInnerRowTpl </ul> </div> <div class='NavType1ExpanderBase'></div> <!-- Navigation component end --> <!--MANUAL ADDED NOTE: here is the issue --> <li><a href="index.php?id=8" title="Work history" >Work history</a></li> <!--MANUAL ADDED NOTE: here is the issue --> <li><a href="index.php?id=9" title="Portfolio" >Portfolio</a></li> <!-- wParentRow --> <div class='NavType1Expander' id="nav10"><a href='#'>HTML5, XHTML, CSS & JavaScript</a></div> <div class='NavType1Container' id="nav10Body"> <ul> <!-- wfInner --> wfInnerRowTpl wfInnerRowTpl wfInnerRowTpl wfInnerRowTpl wfInnerRowTpl wfInnerRowTpl wfInnerRowTpl wfInnerRowTpl wfInnerRowTpl wfInnerRowTpl </ul> </div> <div class='NavType1ExpanderBase'></div> <!-- Navigation component end --> <!-- wfCategoryFoldersTpl --> <!--MANUAL ADDED NOTE: here is the issue --> <li><a href="index.php?id=12" title="Away3D 3.x" >Away3D 3.x</a></li> <!--MANUAL ADDED NOTE: here is the issue --> <li class="last"><a href="index.php?id=23" title="Welcome" >Welcome</a></li> </div> </div> <!-- ########################### NAV END ########################### -->
&firstClass
CSS class for the first item at a given menu level.
&lastClass
CSS class for the last item at a given menu level.
last
&hereClass
CSS class for the items showing where you are, all the way up the chain.
active
&selfClass
CSS class for the current item.
&parentClass
CSS class for menu items that are a container and have children.
parent
&rowClass
CSS class denoting each output row
&levelClass
CSS class denoting every output row level. The level number will be added to the specified class (level1, level2, level3 etc if you specified 'level').
&outerClass
CSS class for the outer template.
&innerClass
CSS class for the inner template
&webLinkClass
CSS class for weblink items.
<!-- chunk file name -->
[[+wf.wrapper]]
<!-- Navigation component start: cat > cat --> <div class='NavType1Expander' id='root7'><a href='#'>Away3D 3.x & Away3DLite 1.x</a></div> <div class='NavType1Container' id='rootContainer7'> <!-- Navigation start: nested --> <ul id='menu'> <li><a href="index.php?clist=110&index=7&subindex=0">Links & Resources</a></li> <li><a href="index.php?clist=114&index=7&subindex=1">Flash, FD, Flex and Flash Builder</a></li> <li><a href="index.php?clist=115&index=7&subindex=2">View, Scene, Camera & Filters</a></li> <li><a href="index.php?clist=116&index=7&subindex=3">Primitives</a></li> <li><a href="index.php?clist=117&index=7&subindex=4">Materials / Textures</a></li> <li><a href="index.php?clist=118&index=7&subindex=5">Lighting</a></li> <li><a href="index.php?clist=119&index=7&subindex=6">Interactivity</a></li> <li><a href="index.php?clist=120&index=7&subindex=7">Panoramics</a></li> <li><a href="index.php?clist=121&index=7&subindex=8">Collision detection</a></li> <li><a href="index.php?clist=122&index=7&subindex=9">AS3Dmod</a></li> <li><a href="index.php?clist=123&index=7&subindex=10">JigLibFlash</a></li> <li><a href="index.php?clist=167&index=7&subindex=11">Augmented Reality (FLARToolkit)</a></li> <li><a href="index.php?clist=124&index=7&subindex=12">Blender</a></li> <li><a href="index.php?clist=125&index=7&subindex=13">Prefab</a></li> <li><a href="index.php?clist=193&index=7&subindex=14">Away3DLite</a></li> <li><a href="index.php?clist=192&index=7&subindex=15">Useful utilities & classes</a></li> <li><a href="index.php?clist=209&index=7&subindex=16">Books</a></li> <li><a href="index.php?clist=126&index=7&subindex=17">Other</a></li> </ul> <!-- Navigation end: nested --> </div> <div class='NavType1ExpanderBase'></div> <!-- Navigation component end -->
<!-- Navigation component start: cat > cat --> <div class='NavType1Expander' id='root7'><a href='index.php?clist=110&index=7&subindex=0'>Away3D 3.x & Away3DLite 1.x</a></div> <div class='NavType1ExpanderBase'></div> <!-- Navigation component end -->