You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Shultz, Kevin" <Ke...@fnmoc.navy.mil> on 2002/05/10 23:04:11 UTC
Menu variable assignments
I am looking to establish a graphical menu that works in much the same way
as the current menu-tabs in the jetspeed-menu.vm using:
#foreach ( $action in $actions )
<a href="${action.Link}" title="${action.Name}"><img
src="images/${action.Name}.gif" alt="${action.Name}" border="0"></a>
#end
I am trying to determine how the assignment of $action is taking place or
where it is occuring. Ideally I would like to take a 7 button horizontal
navigation and have it use something similar to the jetspeed-tab.vm for
displaying either the on or off state menu image:
#foreach ( $tab in $tabs )
#if ($tab.isSelected() )
#set ($bgcolor = $!{skin.HighlightBackgroundColor} )
#set ($color = $!{skin.HighlightTextColor} )
#set ($titleclass = $!{skin.HighlightTitleStyleClass} )
#else
#set ($bgcolor = $!{skin.TitleBackgroundColor} )
#set ($color = $!{skin.TitleTextColor} )
#set ($titleclass = $!{skin.TitleStyleClass} )
#end
In the above code I am uncertain where the $tabs assignment is being
accomplished, as I am also wondering where the $actions is being assigned. I
am imagining that I am not trying to tackle anything that hasn't already
been done but I have had little luck finding anything pertaining to it in
the Mail-Archive. If anyone can provide me with some insight in managing
this task or a good URL reference that discusses this I would be grateful.
V/R,
Kevin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>