官术网_书友最值得收藏!

Chapter 3. Making a Better FAQ Page

The Frequently Asked Questions (FAQ) page has been a mainstay of all types of websites since the dawn of the Web. It's used as a marketing page, as an attempt to reduce the number of calls or e-mails to a customer service department and as a helpful tool for site visitors to learn more about the company or organization they're dealing with or the products or services they're interested in purchasing.

Though we'll be building an FAQ page, for this example, the expand and collapse techniques will be useful in many different situations—a list of events with event details, a listing of staff or members with bios, a list of products with details—any situation where a listing of items should be quick and easy for site visitors to scan, but where more information should be readily and easily available upon demand when they find the thing they're looking for.

In this chapter, you'll learn:

  • How to traverse an HTML document with jQuery
  • How to show and hide elements
  • How to use simple jQuery animations
  • How to easily toggle a class name for an element
主站蜘蛛池模板: 兴城市| 泗洪县| 漠河县| 新津县| 弥勒县| 宜宾县| 广东省| 郎溪县| 云和县| 通州市| 嘉鱼县| 桦川县| 南华县| 安阳县| 贵南县| 和政县| 大荔县| 同德县| 陇南市| 垫江县| 深泽县| 多伦县| 元江| 定州市| 监利县| 天祝| 安福县| 吉木乃县| 宣恩县| 花莲县| 锡林浩特市| 镇赉县| 滕州市| 宁明县| 井研县| 渭南市| 宜君县| 永靖县| 广汉市| 安乡县| 信宜市|