How to create...

Discussion in 'Web Design and Development' started by Millwood, Feb 2, 2008.

  1. Millwood macrumors regular

    Joined:
    Jul 15, 2006
    Location:
    NY/NY
    #1
    I hope you will all be patient with me as I try to explain what I want to do with a website that I am building.

    I am trying to create something like a drop down list in dreamweaver.
    Ultimately, i'd like a certain text field "hidden" until the user clicks on a line like "click here to see further information..." But i'd like the hidden text field to drop down on the same page just below the "click here..." where they would click to see it.

    Does anyone know what exactly this would be called? Would it be a drop down list or something else?
    Something like this website as an example: http://spoilerfix.com/othershows.php See when the user clicks the arrow and the show title, a text field drops down.

    Thanks so much to anyone who can help.
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Its most basic name is DHTML (Dynamic HTML). It makes use of JavaScript to manipulate the DOM (Document Object Model). Here, it's likely changing the style of the content from display:block to display:none, which shows or hides the content, respectively.

    There's various tutorials on manipulating the DOM with JavaScript, and different ways of going about a particular solution. Start searching and reading. If you run into specific problems or have questions just let us know.
     
  3. Millwood thread starter macrumors regular

    Joined:
    Jul 15, 2006
    Location:
    NY/NY
    #3
    Thanks very much for the help. At least I know now what it's called, and can search for some tutorials on it!
     

Share This Page