[EMAIL PROTECTED] wrote
I think the href of an expandable menu item needs to be "absolute"..
try changing your setup items' href to "/Env-Setup.html"..

This works and the top level menu expands and contracts as expected. However, I am still experiencing some unexpected behavior.


Using the example below with appropriate changes, when I click on the CVS menu link, the correct CVS page is displayed but the top level Setup link collapses. Why? I was expecting the CVS tag to bold and the Setup menu stay expanded.

-Fred



From: Fred Muhlenberg
> Sent: Wed 02/02/2005 20:26
> To: Maven Users List
Subject: Navigation.xml and collapsable menu's

You must create a "navigation.xml" file: http://maven.apache.org/site.html


Thanks for the response.  I'm not sure how I missed that (probably
rushed).

Now, I am trying to get a collapsible menu to work.  With the
following navigation.xml file, after generating the site, I get the
triangle, indicating possible expansion of the Setup menu.  However,
clicking on the Setup link doesn't expand it -- it does show the
Setup.html file correctly.

What am I missing on getting the Setup menu to expand?

> <?xml version="1.0"?>
> <project>
>   <title>Development Menu tree</title>
>   <body>
>    <menu name="Development" collapse="true">
>     <item name="Setup" href="/Env-Setup.html" collapse="true">
>      <item href="/cvs.html" name="CVS" collapse="true"> </item>
>      <item href="/ant.html" name="Ant" collapse="true"> </item>
>     </item>
>     <item href="/tasks.html" name="To Do"> </item>
>     <item href="/faq.html" name="FAQs"> </item>
>    </menu>
>   </body>
> </project>

--
Fred Muhlenberg

'Tell me and I may forget.  Show me and I may not remember.
 Involve me, and I'll understand.'
                            Native American Saying

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to