Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Apr 2007
    Posts
    118

    Default HTML code for Show/Hide or Expand/Collapse

    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: http://www.microsoft.com/windows/pro...a&mg_id=20316b

    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

  2. #2
    morgenmuffel
    Join Date
    Dec 2004
    Location
    Putaruru
    Posts
    2,901

    Default Re: HTML code for Show/Hide or Expand/Collapse

    Hi Susan

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

    edit

    try here

    http://www.webdeveloper.com/forum/sh...ad.php?t=77389
    Last edited by Morgenmuffel; 10-04-2007 at 03:37 PM.
    Morgenmuffel - This word needs to be a part of the english language, in fact you should use it in everyday conversation

  3. #3
    Junior Member
    Join Date
    Feb 2009
    Posts
    1

    Default Re: HTML code for Show/Hide or Expand/Collapse

    For an easy to follow guide on a show hide javascript check out http://www.alohatechsupport.net/webd...avascript.html

Similar Threads

  1. Replies: 3
    Last Post: 16-02-2008, 08:19 PM
  2. HTML code
    By garyasta in forum PressF1
    Replies: 3
    Last Post: 04-02-2003, 05:20 PM
  3. Shortcut to Show/Hide Files
    By Jester in forum PressF1
    Replies: 14
    Last Post: 25-08-2002, 07:11 PM
  4. html code for date
    By in forum PressF1
    Replies: 1
    Last Post: 09-05-2001, 02:29 PM
  5. HTML code on the fly
    By in forum PressF1
    Replies: 0
    Last Post: 07-04-1999, 01:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •