Forum Home
Press F1
 
Thread ID: 78273 2007-04-10 00:18:00 HTML code for Show/Hide or Expand/Collapse susann (12077) Press F1
Post ID Timestamp Content User
539598 2007-04-10 00:18:00 Hi guys

I've been trying to find some example code which will help me write something to use on our web site which is similar to the FAQs on this page: www.microsoft.com

Basically I want to have a bunch of headings which a user can then click on which shows the text underneath. When the user clicks on the heading again, the text collapses/hides. I've tried some google searches but am not sure what the exact terminology for this function is so haven't really found what I'm looking for.

Any help greatly appreciated!

Many thanks
S
susann (12077)
539599 2007-04-10 03:29:00 Hi Susan

That site uses Javascript for that effect, try looking for javascript expand/collapse scripts

edit

try here

www.webdeveloper.com
Morgenmuffel (187)
539600 2009-02-07 03:58:00 For an easy to follow guide on a show hide javascript check out www.alohatechsupport.net kyle (12112)
1