Collapsible/expandable list

wei@xcf.Berkeley.EDU (Pei Y. Wei)
Errors-To: listmaster@www0.cern.ch
Date: Thu, 24 Mar 1994 02:57:26 --100
Message-id: <9403240154.AA06829@xcf.Berkeley.EDU>
Errors-To: listmaster@www0.cern.ch
Reply-To: wei@xcf.Berkeley.EDU
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: wei@xcf.Berkeley.EDU (Pei Y. Wei)
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Collapsible/expandable list
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 1283
For HTML+, what do people think about adding an attribute to indicate 
that an element is collapsible (click on a folder icon to toggle 
shrink/expand a list)?

In this example, the sub list "HTML Stuff" starts out expanded,
and the other two sub lists start out collapsed.
---------------------------------------------------------------
<UL FOLD=NO LABEL="W3 Designs">
  <LI><UL FOLD=NO LABEL="HTML Stuff">
      <LI>Stuff a.
      <LI>Stuff b.
      </UL>
  <LI><UL FOLD=YES LABEL="HTTP Stuff">
      <LI>Stuff a.
      <LI>Stuff b.
      </UL>
  <LI><UL FOLD=YES LABEL="More Stuff">
      <LI>Stuff.
      <LI>Stuffy.
      </UL>
</UL>
---------------------------------------------------------------

The FOLD attribute specifies that the list is foldable. And the value 
of that attribute specifies whether or not to fold the intial layout 
of the list.

It should also take another attribute "LABEL" so that one can tell what
the folded list contains. Later on, maybe the <UL> could take the HREF
(or perhaps SRC?) attribute for pointing to the content of the list
(fetch the content of the list only when expanded).

This FOLD attribute would be good definitely for list elements like 
<UL> and <OL>. But it could be useful for things like <XMP> etc as well.

Comments?

-Pei