- From: Daniel W. Connolly <connolly@beach.w3.org>
- Date: Thu, 13 Jul 1995 11:20:18 -0400
- To: KRettig@ctt.bellcore.com (Keith Rettig)
- Cc: www-html@www10.w3.org
In message <ac289a68050210041f09@[128.96.140.133]>, Keith Rettig writes: > > An outline-display mechanism similar to that provided by most word >processors would be useful for HTML browsers. Yup. Have you seen -- um, it's one of the NeXT browsers: I think it's Omniweb -- that does this? It allows you to display and edit any HTML document as an outline/hotlist. Kinda like the NetScape bookmark editor, but more flexible. >Codes: > ><OUTLINE></OUTLINE> >Marks the beginning and ending of the outline. Huh? Why do you need special markup? What's wrong with <Hn>, <UL>, <DL>, anchors, etc.? > >Coding Example: > >An example using the HTML outline mark-up as proposed. > ><OUTLINE LABELS=3D1.1.1.1.1 ALIGN=3DLeft INDENT=3D2 LEVEL=3D2 TYPE=3DPlus> ><OH>Section One > <OT>This is an introduction to Section One</OT> > <OH>Section One Dot One > <OH>Section One Dot One Dot One</OH> > <OH>Section One Dot One Dot Two</OH> > </OH> > <OH><A HREF=3D"somefile.html">Section One Dot Two</A> > <OT>This is Section One Dot Two's body.</OT> > </OH> ></OH> ><OH>Section Two > <OT>This is an introduction to Section Two</OT> ></OH> ></OUTLINE> Allow me to suggest an alternative: <html> <head> <style notation=connolly-just-made-this-up> *H1.prefix: $l2=$l3=$l4=1; $l1++ . ". " *H2.prefix: $l3=$l4=1; $l1 . "." . $l2++ . ". " *H3.prefix: $l4=1; $l1 . "." . $l2 . "." . $l3++ . ". " *H4.prefix: $l1 . "." . $l2 . "." . $l3 . "." . $l4++ . ". " *DIV[shrinkable].hideable: 1 *DIV[shrinkable].hidden: 0 </style> </head> <body> <H1>Section One</h1> <div class=shrinkable> <p>This is an introduction to Section One <h2>Section One Dot One</h2> <div class=shrinkable> <h3>Section One Dot One Dot One</h3> <h3>Section One Dot One Dot Two</h3> </div> <h2><A HREF="somefile.html">Section One Dot Two</A> <div class=shrinkable> <p>This is Section One Dot Two's body. </div> </div> <h1>Section Two</h1> <div class=shrinkable> <p>This is an introduction to Section Two </div> </html> </body> Omniweb manages to do this collapse/expand stuff without even the <div> markup. But it's outline view only allows one line per item -- no multi-line paragraphs or anything like that. Dan
Received on Thursday, 13 July 1995 11:46:55 UTC