9 posts
|
Please help me with 2 levels navigation.
For example i need this:
<ul id=“nav”>
<li>Children1</li>
<ul>
<li>Children-children1</li>
</ul>
<li>Children2</li><li>Children3</li>
</ul>
I need that no of third level dissapear – Only parent and your first children.
Next wish – i need that parent anchor should have a class and rel atributtes
(example:
<ul id=“nav”>
<li>
<a href=”…” rel=“myrel” class=“myclass”>
</a>
<ul>
<li><a></a></li> <<<has not any class or rel attributes
</ul>
</li>
</ul>
)
Can anyone help me> |