What FolderTree Does

FolderTree is a set of JavaScript files that allows you to create your own set of folders, subfolders, and links. These are presented on the page in such a way that the user can easily navigate through all of your folders and links. Figure 20-1 shows what a partially expanded FolderTree looks like.

Figure 20-1. Partially expanded FolderTree

As you can see, the FolderTree is in its own frame. You can configure the script to be inside of a single page, but for right now, we'll look at what Mr. Martins has provided us.

To create the image in Figure 20-2, we clicked on the plus sign next to the “America” folder and clicked the ...

Get Advanced JavaScript™: Insights and Innovative Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.