Link to home
Start Free TrialLog in
Avatar of TohoIT
TohoITFlag for United States of America

asked on

Expand Collapse FAQ in MS SharePoint

I am trying to expand and collapse text in Microsoft SharePoint 2007 for frequently asked questions.
Could you please show me how to do that the easiest way?
It seems like it can be done using Jquery or Javascript in Sharepoint

I will provide a question and when the user clicks on the question link, the answer will show right below the question. Second click will hide the answer. (Show/Hide or toggle)

The link below is a great example of what I am trying to accomplish in Sharepoint 2007.

http://www.colostate-pueblo.edu/HR/FAQs/Pages/Benefits.aspx

Thanks for your help
ASKER CERTIFIED SOLUTION
Avatar of strickdd
strickdd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TohoIT

ASKER

Thanks for your help, Strickdd.
How can I implement this on SharePoint 2007?

Should I put this code  in Source Code of Content Editor Web Part?
Avatar of TohoIT

ASKER

Thank you, Strickdd
I tried  this in Content Editot  in MS Shareoint and it works great !!!

Only one piece is missing from the users point of view.

If we have 10 questions, the user would like the collapse the prior question when another question is clicked.

I really appreciate your help
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TohoIT

ASKER

The finsl result does not meet all the requirements but it was helpful