Skip to main content

FAQ

openFAQ​

Open widget and focus FAQ.

This API can be used to open a FAQ from links on your website. You can specify which FAQ to open by passing in the FAQs id. Omitting the id will open the left most FAQ.

Usage​

_imbox.push(["openFAQ"])
_imbox.push(["openFAQ", "id"])

Example​

<script type="text/javascript">
var _imbox = _imbox || []
</script>
<a href="#" onclick="_imbox.push(['openFAQ', '1']); return false;">
Open FAQ
</a>

openFAQArticle​

Open widget and focus an article.

This API can be used to open a FAQ on a specific article. You need to specify which article to show. You can optionally specify which FAQ to open by passing in the FAQs id. Omitting the id will open the left most FAQ.

openFAQArticle

Usage​

_imbox.push(["openFAQArticle", "article-id"])
_imbox.push(["openFAQArticle", "article-id", "faq-id"])

Example​

<script type="text/javascript">
var _imbox = _imbox || []
</script>
<a href="#" onclick="_imbox.push(['openFAQArticle', '1', '1']); return false;">
Open Article
</a>

openFAQCategory​

Open widget and focus a FAQ category.

This API can be used to open a FAQ on a specific category. You need to specify which category to show. You can optionally specify which FAQ to open by passing in the FAQs id. Omitting the id will open the left most FAQ.

Usage​

_imbox.push(["openFAQCategory", "category-id", "category-name"])
_imbox.push(["openFAQCategory", "category-id", "category-name", "faq-id"])

Example​

<script type="text/javascript">
var _imbox = _imbox || []
</script>
<a
href="#"
onclick="_imbox.push(['openFAQCategory', '1', 'Opening hours', '1']); return false;"
>
Open Category
</a>