Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Millwood

macrumors regular
Original poster
Jul 15, 2006
146
0
NY/NY
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.
 
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.
 
Thanks very much for the help. At least I know now what it's called, and can search for some tutorials on it!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.