Home   Preview the Book   Chapter 15, TOC   Part 14

  Previous: Developing a Localized Footer Control
  Next: Rendering the Navigation HTML

Developing a Control for the Navigation Menu

The left side of each VB Snippets Web page displays a navigation menu with an item at the top for the homepage and with items for the second-level pages in the Web site beneath the homepage item. The design adds this wrinkle: the item for the currently displayed page appears highlighted instead of as a link. The navigation menu for lower-level search pages and browse pages highlight the search and browse items, respectively. As we shall see, breadcrumb links provide for navigation within the search and browse pages.

The VB Snippets navigation menu has been implemented as a custom control within a user control. The custom control uses property settings to render the correct HTML for each Web page, and the user control encloses the custom control in a table that positions the snip-snip-snip dotted line graphics in the upper left and lower right corners.

  Previous: Developing a Localized Footer Control
  Next: Rendering the Navigation HTML

Home   Preview the Book   Chapter 15, TOC   Part 14

Copyright © 1996 - 2017 SoftMedia Artisans, Inc. All Rights Reserved.