i like this sounds of this (regardless of whether we find a way to make the menus collapse or not.

- robert

On 15 Feb 2004, at 16:08, Mark R. Diggory wrote:

This idea has been proposed before, only people thought it not possible. However, after some digging, I found out it is.

<j:if test="${date == 'navigation-top'}">
<div id="lastPublished">Last published: ${build.date}</div>
</j:if>
<x:if select="$nav">
<jsl:applyTemplates select="$nav/body/menu[not(@type) | @type='header'] | $nav/body/search"/>
</x:if>
<jsl:applyTemplates select="$projectNav/body/menu"/>
<!-- allows user to put menu items after standard reports -->
<x:if select="$nav">
<jsl:applyTemplates select="$nav/body/[EMAIL PROTECTED]'footer']"/>
</x:if>


http://cvs.apache.org/viewcvs.cgi/maven-plugins/xdoc/src/plugin- resources/site.jsl

in the site.jsl when processing the navigation, if the following 'type="footer" attribute is added to any menu tag, then the navigation menu shows up "after" the Project Documentation.

This should solve alot of the complaints about showing all the Commons Project in the navigation, because everyone is really trying to get to the Project Doc.

-Mark

--
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu

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



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



Reply via email to