Home Forums
05 | 25 | 2013
We have 120 guests and 12 members online
JoomlaNook Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom
TOPIC: Link to FAQ
#6782
rpsquared
Posts: 2
User Offline Click here to see the profile of this user
Link to FAQ 10 Months ago  
I have a set of 20 or so FAQs set up, but some of the answers reference another answer. I cannot figure out how to link from one FAQ to another and have the link open the new FAQ. Help please!
 
Logged Logged
  The administrator has disabled public write access.
#6785
klowther
Admin
Posts: 2962
User Offline Click here to see the profile of this user
Gender: Male JoomlaNook Location: Fremont, NE USA Birthday: 07/23
Re:Link to FAQ 10 Months ago  
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
 
Logged Logged
  The administrator has disabled public write access.
#6787
rpsquared
Posts: 2
User Offline Click here to see the profile of this user
Re:Link to FAQ 10 Months ago  
Thank you very much! That was exactly what I needed! I would recommend adding that to your website because I spent about half a work day trying to figure that out. You do have a section on the topic, but it didn't tell me what I needed to know.
Thanks again for the help! It's much appreciated!
 
Logged Logged
 
Last Edit: 2012/07/26 08:42 By rpsquared. Reason: posted too early
  The administrator has disabled public write access.
#6789
klowther
Admin
Posts: 2962
User Offline Click here to see the profile of this user
Gender: Male JoomlaNook Location: Fremont, NE USA Birthday: 07/23
Re:Link to FAQ 10 Months ago  
Hi,

Yes, you are quite right. I will get the documentation updated as soon as possible. Sorry you wasted so much time on the issue.

- Ken
 
Logged Logged
  The administrator has disabled public write access.
Go to top