AKSW / site.ontowiki

HTML Content Publishing system on top of Linked Data
6 stars 7 forks source link

navigationList needs recursion #13

Closed seebi closed 11 years ago

seebi commented 11 years ago

for the this years LSWT page, we need the substructure feature of the navigationList helper, which means, sub-uls in the navigation ul.

example data is available in the aksw.org site

white-gecko commented 11 years ago

Would this output fit your needs:

<ul class="nav" >
    <li class="active"><a href="http://localhost/Site/Welcome">Welcome</a></li>
    <li><a href="http://localhost/Site/Map">Map Demo</a></li>
    <li><a href="http://localhost/Site/About">About</a></li>
    <li><a href="http://localhost/Site/Navigation/Sub_menu">Sub menu</a>
        <ul>
            <li><a href="http://aksw.org/">aksw.org</a></li>
            <li><a href="http://aksw.org/Projects/Xodx">Xodx</a></li>
            <li><a href="http://aksw.org/Projects/DSSN">DSSN</a></li>
        </ul>
    </li>
</ul>
seebi commented 11 years ago

nearly but not full:

following the existing naming scheme, I suggest these options:

     * - subheadTag - surround sub navigation heading tag (default: strong)
     * - subheadClass - surround sub navigation heading tag (default: headline)
     * - subheadSkipLink - skip link to navigation resource (default: true)
seebi commented 11 years ago

feature storm! :-)