Browsers Targeted: Internet Explorer 5
Tree structures appear quite often over the ‘Net, and they are becoming especially prominent in the face of the emergence of XML. Fortunately, tree structures are remarkably simple to create, using a combination of list elements and spans. In IE5, you can also take advantage of the srcElement property to simplify making a collapsible tree:
onclick="updateTree()"> - Chapter 1
- Section 1
- Sub-section 1
- Paragraph 1
- Paragraph 2
- Paragraph 3
- Sub-section 2
- Paragraph 1
- Paragraph 2
- Paragraph 3
- Sub-section 3
- Paragraph 1
- Paragraph 2
- Paragraph 3
- Section 2
- Sub-section 1
- Paragraph 1
- Paragraph 2
- Paragraph 3
- Sub-section 2
- Paragraph 1
- Paragraph 2
- Paragraph 3
- Sub-section 3
- Paragraph 1
- Paragraph 2
- Paragraph 3