magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1998 > 10 > Beyond HTML  

Navigating Your Web Site with XML

One of the more common features of high-content sites these days seems to be the navigation bar found on the left-hand side of the screen. Usually placed in a table, this navigation bar is often a long laundry list of what's on the site. The problem with this approach is that you must hunt through the list to find what you're looking for. And because the navigation bar is contained within a table, it scrolls off the screen. If the list is long, you may find yourself scrolling back and forth to find what you're looking for.

In creating the plumbing for my site, www.Beyond HTML.com, I wanted to design a more structured approach to navigation using drop-down lists. The idea was to present a list of the Web site's main topics in the navigation bar. When you click on a topic, a list of subtopics or articles drops down, and clicking a second time on the topic folds, or closes, the drop-down list. I also wanted to use frames to present a consistent navigation bar that didn't scroll off the screen. Finally, I needed to provide an alternative table-based approach for older browsers that don't support frames.

My first attempt was to create a series of HTML files, each representing a different point in the navigation process. While this approach worked well, it resulted in a dozen or so navigation files. My problem was compounded by the desire to support both frames and tables. This meant that the number of files easily doubled since each file contained two implementations of the same menu.




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2