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

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
主站蜘蛛池模板: 九龙县| 当阳市| 扶风县| 沁水县| 资溪县| 隆林| 无极县| 威海市| 阿尔山市| 韩城市| 华池县| 和田县| 华池县| 同心县| 漠河县| 彰化县| 佳木斯市| 富裕县| 万载县| 苏尼特右旗| 仙游县| 珠海市| 武乡县| 舞阳县| 芒康县| 广宁县| 和硕县| 民权县| 葵青区| 西平县| 镇康县| 浑源县| 杭锦后旗| 菏泽市| 元阳县| 营口市| 宜州市| 梁平县| 兴化市| 阿勒泰市| 磐安县|