You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Luc Peerdeman <lj...@xs4all.nl> on 2004/05/15 12:30:56 UTC
Menu component demo
Hi,
I have put together a small demo of a very simple hyperlink menu
component. The basic idea is that you can put together a unordered list
containing hyperlinks, and the component will make it look like a menu,
using some JavaScript and CSS that I found here:
http://www.kryogenix.org/code/browser/aqlists/
The same idea can be used to make a tree component that renders its
contained list of hyperlinks into a tree.
A small demo can be found at:
http://www.2en40.nl:8080/tap/app
The html template looks like this:
<ul jwcid="@Menu">
<li><a href="http://www.kryogenix.org/code/browser/aqlists/">JScript
author</a>
<ul>
<li><a href="http://www.kryogenix.org/code/browser/aqlists/">Stuart
Langridge</a></li>
<ul>
<li><a
href="http://www.kryogenix.org/code/browser/aqlists/">Homepage</a></li>
<li><a href="mailto:sil@kryogenix.org">Mailto</a></li>
</ul>
</ul>
</li>
[etc etc]
Comments and questions welcome. For those who want to have a look, the
war file can be found at http://www.xs4all.nl/~lpeer/MenuDemo.war
Cheers, Luc.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org