forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [JIRA] Created: (FOR-339) toggle menu display: none
Date Thu, 28 Oct 2004 14:30:38 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-339

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-339
    Summary: toggle menu display: none
       Type: Improvement

     Status: Unassigned
   Priority: Minor

    Project: Forrest
 Components: 
             Forrest skins
   Versions:
             HEAD

   Assignee: 
   Reporter: Clay Leeds

    Created: Thu, 28 Oct 2004 9:30 AM
    Updated: Thu, 28 Oct 2004 9:30 AM
Environment: all

Description:
I would like the option to show the complete navigation menu:

CURRENT MENU:
About
- Index
- License
- Download
- Who we are
- FAQs
- Changes
- Todo
- Example sites
Related projects

PROPOSED MENU:
About
- Index
- License
- Download
- Who we are
- FAQs
- Changes
- Todo
- Example sites
Related projects
- Apache Gump
- Apache Cocoon
- Apache Lenya
- Apache XML
- Statistics

NOTE: In the PROPOSED MENU, the Related Projects submenu is displayed by default--clicking
"Related Projects" is not necessary.

To enable this, each 'menuitemgroup' item (derived from the 'class' for which DISPLAY is toggled
onclick) in site.xml would have an additional attrribute, which determines whether the menuitemgroup
is displayed.

In addition, the <site/> element can also have a @display="none|block" which is inherited.
In this way, the entire site's menuitemgroups can be set globally *&* can be set individually
(so the default could be "block" but you can still 'hide' some menuitem groups.

NOTE: The ACTIVE menuitemgroup (the group in which the current page is a member) will always
display (as currently occurs).

<site label="Forrest" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="home"
display="none|block">

  <references label="Related projects" display="none|block">
    <gump label="Apache Gump" href="http://gump.apache.org/"/>
    <cocoon label="Apache Cocoon" href="http://cocoon.apache.org/"/>
    <lenya label="Apache Lenya" href="http://cocoon.apache.org/lenya/"/>
    <xml label="Apache XML" href="http://xml.apache.org/"/>
    <apache-stats label="Statistics" href="http://www.apache.org/~vgritsenko/stats/"/>
  </references>

</site>

Example 1 (show 'Related Projects' by default):

<site label="Forrest" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="home"
display="">

  <about label="About">
    <index label="Index" href="index.html"/>
    <license label="License" href="license.html"/>
    <download label="Download" href="http://forrest.apache.org/mirrors.cgi"/>
    <download_html href="mirrors.html"/>
    <who label="Who we are" href="who.html"/>
    <faq label="FAQs" href="faq.html">
      <docbook href="#docbook"/>
      <ignoring_javadocs href="#ignoring_javadocs"/>
      <link_raw href="#link_raw"/>
      <pdf_images href="#pdf_images"/>
    </faq>
    <changes label="Changes" href="changes.html"/>
    <changes-rss href="changes.rss"/>
    <todo label="Todo" href="todo.html"/>
    <live-sites label="Example sites" href="live-sites.html"/>
  </about>
<!-- ... -->
  <references label="Related projects" display="block">
    <gump label="Apache Gump" href="http://gump.apache.org/"/>
    <cocoon label="Apache Cocoon" href="http://cocoon.apache.org/"/>
    <lenya label="Apache Lenya" href="http://cocoon.apache.org/lenya/"/>
    <xml label="Apache XML" href="http://xml.apache.org/"/>
    <apache-stats label="Statistics" href="http://www.apache.org/~vgritsenko/stats/"/>
  </references>

</site>

Example 2 (show all by default but hide 'About'):

<site label="Forrest" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="home"
display="block">

  <about label="About" display="none">
    <index label="Index" href="index.html"/>
    <license label="License" href="license.html"/>
    <download label="Download" href="http://forrest.apache.org/mirrors.cgi"/>
    <download_html href="mirrors.html"/>
    <who label="Who we are" href="who.html"/>
    <faq label="FAQs" href="faq.html">
      <docbook href="#docbook"/>
      <ignoring_javadocs href="#ignoring_javadocs"/>
      <link_raw href="#link_raw"/>
      <pdf_images href="#pdf_images"/>
    </faq>
    <changes label="Changes" href="changes.html"/>
    <changes-rss href="changes.rss"/>
    <todo label="Todo" href="todo.html"/>
    <live-sites label="Example sites" href="live-sites.html"/>
  </about>
<!-- ... -->
  <references label="Related projects" display="">
    <gump label="Apache Gump" href="http://gump.apache.org/"/>
    <cocoon label="Apache Cocoon" href="http://cocoon.apache.org/"/>
    <lenya label="Apache Lenya" href="http://cocoon.apache.org/lenya/"/>
    <xml label="Apache XML" href="http://xml.apache.org/"/>
    <apache-stats label="Statistics" href="http://www.apache.org/~vgritsenko/stats/"/>
  </references>

</site>



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message