- From: Benjamin C. W. Sittler <bsittler@prism.nmt.edu>
- Date: Wed, 19 Jul 1995 10:00:07 -0600
- To: KRettig@ctt.bellcore.com (Keith Rettig)
- Cc: www-html@www10.w3.org, www-style@www10.w3.org
Outline-style lists would seem to me to be entirely a presentation issue.
For example, collapsed lists might be specified like this:
<HTML><HEAD><TITLE>Collapsed Outline Demo</TITLE>
<STYLE>
OL, UL, DL : List.Style = accordian
OL.OPEN, UL.OPEN, DL.OPEN : List.Style = expanded
OL.CLOSED, UL.CLOSED, DL.CLOSED : List.Style = collapsed
</STYLE -- It is necessary to have both OPEN and CLOSED versions because
of inherited styles. This assumes a CSS-like stylesheet
language, and should probable say so in the <STYLE> tag...
i.e., <STYLE NOTATION=CSS>... my apologies. -->
</HEAD>
<BODY>
<H1>Collapsed Outline-Style Lists</H1>
<P>
This document contains several accordian-style (sp?) lists.
Non-stylesheet browsers should, of course, render them fully expanded.
Also, note that the <LH> (List Header) is shown in place of a collapsed
list.
<UL CLASS=OPEN>
<LH>This is the first list. It is initially expanded.
<LI>Item 1
<LI>Item 2
<LI><UL CLASS=CLOSED>
<LH>Note that the third list item <em>is</em> a collapsed list!
<LI>Item 3.1
<LI>Item 3.2
<LI>Item 3.2
</UL>
<LI>Item 4
</UL>
<OL CLASS=CLOSED>
<LH>This is the second list. It is numbered, and closed initially.
<LI><OL CLASS=OPEN>
<LH>Note that this list will be visible immediately when the
outer-level <OL> is expanded.
<LI>1.1
<LI>1.2
<LI>1.3 (Numbers would actually be generated automatically by the
rendering software... the stylesheet might also include a line to make
numbering inherit.)
</OL>
<LI><OL CLASS=CLOSED>
<LH>This list would be still be collapsed when the outer-level
list is expanded.
<LI>2.1
<LI>2.2
</OL?
-- oops! that's </OL> (I'm typing this a line at a time, sorry
-->
<LI>Item three.
</OL>
</BODY>
</HTML>
Any comments?
--
-------------------------------------------------------------------------------
Name: Benjamin C. W. Sittler -- Email: bsittler@nmt.edu -- Snail: P.O. Box 153
Web: http://nmt.edu/~bsittler/ bcws@arc.unm.edu Socorro, NM
-------------------------------------------------------------------------------
Received on Wednesday, 19 July 1995 12:00:20 UTC