stas 02/01/27 19:53:10 Modified: tmpl/custom/html menu_top_level Log: - make all the items of the menu highlighted again, was making the navigation harder without it. Revision Changes Path 1.6 +2 -4 modperl-docs/tmpl/custom/html/menu_top_level Index: menu_top_level =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/menu_top_level,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- menu_top_level 28 Jan 2002 02:24:52 -0000 1.5 +++ menu_top_level 28 Jan 2002 03:53:10 -0000 1.6 @@ -32,12 +32,10 @@ WHILE p; count = count + 1; link = INCLUDE link prefix=prefix link=p.meta.link; + buttons.push({link => link, text => p.meta.stitle}); IF p.id == current.id; - style = 'activenav'; - ELSE; - style = 'notactivenav'; + selected = count; END; - buttons.push({link => link, text => p.meta.stitle, style=> style }); p = p.next; # next node END; -%]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]