Dear all, I just noticed that in the default style (andreas07?) the selected-class ( webgen-menu-item-selected) is only set correctly for pages that are not in subdirectories. i.e. I have src/index.page where title is set to: home a/index.page A b/index.page B and the menu looks like home A B then the menuitem is marked correctly (webgen-menu-item-selected) only for the home page and for none of the others. Is this intentional, can I change this? Thanks, thomas -- http://thomas.deselaers.de
> I just noticed that in the default style (andreas07?) the > selected-class ( webgen-menu-item-selected) is only set correctly for > pages that are not in subdirectories.This seems to be a bug in the CSS stylesheet. Since the menu uses just level 1 items, the menu entry for the index page itself is not displayed, just the menu item for the directory. Therefore the class webgen-menu-item-selected is not set. However, the stylesheet should also highlight the menu item if it has the style webgen-menu-submenu-inhierarchy. Will be fixed for the next release! -- Thomas
On Mon, Nov 30, 2009 at 15:50, Thomas Leitner <t_leitner at gmx.at> wrote:>> I just noticed that in the default style (andreas07?) the >> selected-class ( webgen-menu-item-selected) is only set correctly for >> pages that are not in subdirectories. > > This seems to be a bug in the CSS stylesheet. Since the menu uses just > level 1 items, the menu entry for the index page itself is not > displayed, just the menu item for the directory. Therefore the class > webgen-menu-item-selected is not set. However, the stylesheet should > also highlight the menu item if it has the style > webgen-menu-submenu-inhierarchy. Will be fixed for the next release! >great. thanks a lot. looking forward to the new release. cheers, thomas -- http://thomas.deselaers.de