22.07.2013 Views

Sausalito Developer's Guide - Parent Directory

Sausalito Developer's Guide - Parent Directory

Sausalito Developer's Guide - Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3—4 Chapter 3: User Interface<br />

Beta Draft 11. Copyright ' 2001. Cobalt Networks, Inc. All Rights Reserved.<br />

Node E has no parent<br />

Node F has no parent<br />

Node G’s parent is F<br />

Node H’s parent is G<br />

Node I’s parent is G and J<br />

Node J has no parent<br />

The site map looks like Figure 3—1<br />

Figure 3—1 Site Map<br />

A<br />

B C E G J<br />

The collapsible list navigation manager presents a site map in a collapsible list format and lets<br />

users navigate by clicking on items on the list. Users can expand or collapse parents to show<br />

and hide the children nodes, respectively.<br />

To use the collapsible list, users needs to supply the root node of the site. For example, using<br />

the above site map as an example with A as root, the collapsible list will look like:<br />

Item B<br />

Item C<br />

Item D<br />

F<br />

D H I<br />

Note that the node A and E are not being shown. This is because node A is the root and there<br />

is no path to descend down from the root to node E. The nodes F, G, H, I and J are not shown<br />

either because they are on a separate branch.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!