Expanding and collapsing sections allow you to create sections
which only show the title of the section by default. When a user clicks on the
title of the section, the rest of the section's contents will appear beneath
the section's title. When you use these sections, options will appear on the
page allowing a user to expand or collapse all of sections at once.
To create lists in the ECEn Web XML, we're going to use
<section> tags.
These instructions assume that you already have a ECEn XML web page
to edit and know at least a bit about XML. Most content, such as text, links, lists, pictures etc., belong in the
<content> portion of your page, so make sure that you
have a page with a
<content> portion. If you need a quick tutorial or
just a simple starter web page download, check out the
Howdy, World Tutorial where you can get brief overview on what files you need to set up a basic
ECEn XML web page.
If you need an example, have a look at the
Expanding and Collapsing Section Example page. You can view the XML source in your by clicking the 'this XML' at the bottom of the page.
Or, the XML source located in the Common Tasks Downloads to the right. (Right click, Save Link Target As...)