Collapsable/expandable FAQ's How to?

  Mysticnas 12:54 18 Jan 07

Hi all,

I'm trying to figure out how best to create a FAQ's page. I'm quite interested in something like this: click here

The user can expand/collapse the answers individually.

Does anyone know how to implement this in Dreamweaver? Or have the source code?

I've Googled it and found some solutions, but a lot of them are "pay for" samples.

I'd really appreciate it if anyone can help me out here.

Thanks all

  gibbs1984 13:52 18 Jan 07

Well it's defiantly JavaScript:

<A href="javascript:void(0);" onclick="expandFAQ();">What is your best tire for urban street riding? </A>

Someone maybe able to point you in the direction of some tutorials, sorry I can't be of more help but I only know a little bit of JavaScript.

  cycoze 17:25 18 Jan 07

i am interested in this too so started having a look around.

Found this Switch Content Script first off click here

Still looking...

  cycoze 17:54 18 Jan 07

Another that looks a tad tidier click here

Cant find anything that does not require two buttons.

  Mysticnas 17:59 18 Jan 07

Hi all thanks for that. Shortly after posting i figured i'll snoop around that link i gave earlier. I saved the page and it saved the jsp functions page along with it. All the code is in there!

But these links you have given are quite useful too, thanks again all!!


This thread is now locked and can not be replied to.

LG G6 review: Hands-on with LG’s bold, big-screen shot at perfection

1995-2015: How technology has changed the world in 20 years

How the 2017 Oscar-winning VFX of The Jungle Book were created

The 22 best Safari extensions | Best Safari plugins: Improve Apple's Safari web browser with these…