SimpleFAQ (current version: 0.7)
SimpleFAQ is a jQuery plug-in that makes visually pleasing and interactive lists of questions and answers. All questions are shown, with the answers hidden until the user clicks on the question. You can also add a search box (using quicksilver) to search and sort the questions (and answers) by relevance.
Requirements
- jQuery 1.2+
- jquery.quicksilver (simple port to jQuery-style plug-in)
- jquery.simpleFAQ (this plug-in)
Feature List
- Use simple JSON array or existing HTML for data source
- Show questions and hide answers by default, clicking a question shows the answer
- Quicksilver searching of questions and answers with relevancy sorting
- Add tags to questions/answers to increase relevancy of searching
- Events triggered for extra handling hooks
- Lightweight (4.66kb minified)
Tested Browsers
- Mozilla Firefox 2/3
- Microsoft Internet Explorer 6/7/8
- Google Chrome
- Opera
Note that not all browsers have had every feature tested. This plug-in is still an early version, although relatively stable (I think). Please be sure to read the disclaimer and lack-of-warranty clause at the top of the code.
Known Issues
- In Chrome there is an issue with expanding answers when binding to the "show.simpleFAQ" event.
- Animations are choppy and slow in IE 6... and no, I have no plans on improving jQuery animations in IE 6.