F.A.Q.
What is UBenefit?
Chris Blankenship's Ramblings
November 21st, 2008
Version 1.0
Not finding a nice and simple FAQ Plugin for jQuery I decided to see how hard it would be to create one from scratch. Turns out it's not too difficult after all. This Plugin will provide you with a way to create a simple list of items that can then be displayed as a collapsable list like you usually see with 'Frequently Asked Questions' lists.
jQuery does all the magic behind the scenes and you only need to create a simple header (ex. h2) and content section (span). You have the option of displaying an optional index that includes a link to each entry in your list.
For adding code to your FAQ you can take advantage of my more effecient, jquery enabled version of SyntaxHighlighter that I modified from the original SyntaxHighlighter.
What is Quick Apps?
There are three options you specify when using this Plugin:
| Option | Description | Default |
|---|---|---|
| indexTitle | This is the title given to the Index | Index |
| displayIndex | Do you want to display the index? | true|false |
| faqHeader | This is the tag name that is used for the header of each faq entry which is processed by jQuery. | :header |
Is UBenefit secure?
To get started you need to add the plugin into the head of your web page. Next you will need to create a div on your page where you want the FAQ to be displayed:
Is my data private?
To get started you need to add the plugin into the head of your web page. Next you will need to create a div on your page where you want the FAQ to be displayed:
Who owns my data?
To get started you need to add the plugin into the head of your web page. Next you will need to create a div on your page where you want the FAQ to be displayed:
Is my data private?
To get started you need to add the plugin into the head of your web page. Next you will need to create a div on your page where you want the FAQ to be displayed:
How much does it cost?
To get started you need to add the plugin into the head of your web page. Next you will need to create a div on your page where you want the FAQ to be displayed:





