<LI CLASS=DirList STYLE=Collapsed>
....
</LI>
and in the stylesheet:
LI.DirList : Font.Family = Courier
LI[style = COLLAPSED] : List.Style = Accordian & Collapsed
LI[style = OPEN] : List.Style = Accordian & Expanded
Yes, this would be providing *extremely* abusable presentation-oriented
markup, but the underlying concept is one of presentation. Browsers
incapable of or averse to (i.e. through user preferences) collapsing lists
could safely ignore the stylesheet and/or the STYLE attribute.
my 2c
-- Benjamin C. W. Sittler "I have great confidence in fools -- self confidence my friends call it." --Edgar Allen Poe mailto:bsittler@nmt.edu http://nmt.edu/~bsittler/