You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Brolin Empey <br...@brolin.be> on 2009/05/05 19:42:17 UTC
reducing duplication in menus with pelt skin
Hello,
See the *Products* menu on the left side of <http://medallionsystem.com/>.
Currently, clicking on either the triangular bullet to the left of *Products
* or on *Products* expands and collapses the *Products* menu. The first
child in the menu is *Products*. Is it possible to make the top-level *
Products* a link so that *Products* is not duplicated in the menu? Then the
triangular bullet would have to be used to expand and collapse the *Products
* menu.
I am using my hacked fork of the *pelt* skin with Forrest v0.9-dev.
Thanks,
Brolin
--
Sometimes I forget how to do small talk: <http://xkcd.com/222/>
“What if there were no hypothetical questions?” — George Carlin
Re: reducing duplication in menus with pelt skin
Posted by Ross Gardler <rg...@apache.org>.
2009/5/5 Brolin Empey <br...@brolin.be>:
> Hello,
>
> See the Products menu on the left side of <http://medallionsystem.com/>.
> Currently, clicking on either the triangular bullet to the left of Products
> or on Products expands and collapses the Products menu. The first child in
> the menu is Products. Is it possible to make the top-level Products a link
> so that Products is not duplicated in the menu? Then the triangular bullet
> would have to be used to expand and collapse the Products menu.
(sorry for the dealy in response)
To do this you will need to hack the javascript that does the menu
expansion to instruct the browser to open the index page as well as
expand the menu item. This is easy enough if you know Javascript, less
so if you don't.
Alternatively you could make all the menu items expanded by default. I
can't recall if we have a switch to do this, if this is something you
want to explore let us know.
Ross