stas        02/01/27 20:06:03

  Modified:    src      style.css
               tmpl/custom/html menu_top_level
  Log:
  - fix the menu highlighting
  
  Revision  Changes    Path
  1.11      +10 -12    modperl-docs/src/style.css
  
  Index: style.css
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/style.css,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- style.css 28 Jan 2002 02:24:51 -0000      1.10
  +++ style.css 28 Jan 2002 04:06:03 -0000      1.11
  @@ -74,30 +74,28 @@
           background-color: #ffffff;
   }
   
  -div.activenav {
  +div.selected {
           font-weight: bold;
           font-size:12px;
           margin-bottom:5px;
           margin-top:5px;
   }
   
  -div.activenav a:link {text-decoration: none; color: #525D76;}
  -div.activenav a:visited {text-decoration: none; color: #525D76;}
  -div.activenav a:active {text-decoration: none; color: #525D76;}
  -div.activenav a:hover {text-decoration: none; color: #525D76;}
  +div.selected a:link    {text-decoration: none; color: #525D76;}
  +div.selected a:visited {text-decoration: none; color: #525D76;}
  +div.selected a:active  {text-decoration: none; color: #525D76;}
  +div.selected a:hover   {text-decoration: none; color: #525D76;}
   
  -div.notactivenav {
  +div.nonselected {
           font-size:12px;
           margin-bottom:5px;
           margin-top:5px;
  -
   }
   
  -div.notactivenav a:link {text-decoration: none; color: #525D76;}
  -div.notactivenav a:visited {text-decoration: none; color: #525D76;}
  -div.nottctivenav a:active {text-decoration: none; color: #525D76;}
  -div.notactivenav a:hover {text-decoration: none; color: #525D76;}
  -
  +div.nonselected a:link    {text-decoration: none; color: #525D76;}
  +div.nonselected a:visited {text-decoration: none; color: #525D76;}
  +div.nonselected a:active  {text-decoration: none; color: #525D76;}
  +div.nonselected a:hover   {text-decoration: none; color: #525D76;}
   
   div.ad {
           width: 160px;
  
  
  
  1.7       +4 -2      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- menu_top_level    28 Jan 2002 03:53:10 -0000      1.6
  +++ menu_top_level    28 Jan 2002 04:06:03 -0000      1.7
  @@ -32,10 +32,12 @@
      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;
  -           selected = count;
  +           style = 'selected';
  +       ELSE;
  +           style = 'nonselected';
          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]

Reply via email to