• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Drawing the Layers

It happens too fast to see, but the folderTree code draws the entire tree, every folder and link, when the page is loaded. Once the entire tree is loaded, it's collapsed, except for the Europe and America folders. This procedure may sound simple, but it involves about two dozen different functions. We'll go over them, but before we do that, we should step back and see how the HTML is set up.

As you can see, this is a page in frames. Let's look at Example 21-2, the frameset page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint