[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Questions about navbar



Hello!!!

I can define and generate simple navbar, but unfortunately I can't do
following things:

1. Set any attributes of <a> tag.
2. Insert a subnavbar  into the navbar.

Suppose I have following navbar definition:

<navbar:define name="mynavbar">
    <navbar:header><table border="0"></navbar:header>
    <navbar:prolog><tr><td></navbar:prolog>
    <navbar:button id="item1" txt="item #1" url="1.html">
    <navbar:button id="item2" txt="item #2" url="2.html">
    <navbar:button id="item3" txt="item #3" url="3.html">
    <navbar:epilog></td></tr></navbar:epilog>
    <navbar:footer></table></navbar:footer>
</navbar:define>

but I want to generate navbar like this:

<table border="0">
<tr><td><a href="1.html" class="myclass">item #1</a></td></tr>
<tr><td>
    <table border="0">
    <tr><td></td><td><a href="1_1.html" class="myclass2">item
#1_1</a></td></tr>
    <tr><td></td><td><a href="1_2.html" class="myclass2">item
#1_2</a></td></tr>
    <tr><td></td><td><a href="1_3.html" class="myclass2">item
#1_3</a></td></tr>
    </table>
</td></tr>
<tr><td><a href="2.html" class="myclass">item #2</a></td></tr>
<tr><td><a href="3.html" class="myclass">item #3</a></td></tr>
</table>

What should I change in my navbar definition?

Thanks for any help
Regards

Pawel Tecza



---------------------------------------------------
http://POCZTA.interia.pl/ - sa powody by korzystac!

______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com