-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
25 lines (20 loc) · 796 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
A simple FAQ Plugin which can fetch FAQs from a shared Google Docs
Vivek
http://www.vivekv.com
Usage
Create a div with the id "faq" and add the below code into your webpage
<script type="text/javascript" >
$(function(){
$("#faq").faq({
csv : 'https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AlsQ1nfxAXPfdHJNb01aeEU2UnFDZVRZOHZiUW1yd0E&output=csv',
hideOthers: 'true',
heading: 'h3'
});
});
</script>
Options
-------
csv: This is the CSV file shared on Google Docs. You may also use a csv file from other location
hideOthers: Set this to true if you want to show only the selected questions answer and hide all other answers. false by default
heading: The heading type that you want to set for the Questions. Example, h1, h2, h3, h4 and h5. h3 is default