CHAPTER 8Case Study: FAQ Facelift

By Aaron Gustafson

In the history of the Internet, there have been few things as constant as Frequently Asked Questions (FAQ) pages. Nearly every site has one, either in name or in spirit, and these pages really haven't changed much since they first appeared in the early 1990s.

Most FAQs take the form of a list of questions in which each is a link (using either an id or a name reference) to the applicable question/answer pair somewhere further down on the page, as seen in Figure 8-1. Maintenance of these FAQs can quickly become a nightmare because editors must not only create the question/answer pair but also then update the list at the top of the page (or on another page altogether). DRY principle be damned. ...

Get Accelerated DOM Scripting with Ajax, APIs, and Libraries 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.