• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 26. JavaScript Project: Creating... > Stage 1: Designing and Creating the ...

Stage 1: Designing and Creating the Menu Objects

When planning any large programming project, the first step should always be to list your goals. That way, you always have the big picture in mind when you're designing and building the individual pieces of the project. To that end, here are our goals for this project:

  • Create a menu system that shows the reader what's on the Web site and enables them to easily navigate to any part of the site.

  • Make the menu hierarchical, which means it's organized by categories, subcategories within those categories, and so on.

  • Enable the user to expand and collapse the menu as needed. That is clicking a category should display its subcategories, and clicking the category again should hide those subcategories.

  • Indent the subcategories to emphasize the hierarchy and make it obvious to the user how the site or organized.

  • Supply visual clues that make it easy for the user to operate the menu system.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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