Hi,
You can create a link like this:
| Code: |
<a href="javascript:void(0);" onclick="return preparefaq.openFaqItem('item1');">Link to item 1</a>
|
There are 2 functions that can be used. openFaqItem('id') and jumpToFaqItem('id').
openFaqItem will open the faq item having a matching id= attribute. jumpToFaqItem will open the faq item and scroll it to the top of the page.
Follow the link below to see an example of openFaqItem. Click on the Scroll time or Scroll offset links.
www.joomlanook.com/index.php?option=com_...cordion2scrollonopen
- Ken