View Full Version : expand/collapsed Divs as Drop down menus

12-28-2006, 07:38 PM
I really hope this comes across as I envision it so here it goes -

I am trying to develop a div with a drop down menu in it. As the enduser selects the third or final option, the div expands to show more choices/text/etc related to the option selected from the drop down menu..

Is this possible? Any examples would be greatly appreciated.



12-28-2006, 09:03 PM
Are you talking about something like this (http://www.htmldog.com/articles/suckerfish/dropdowns/example/)?

Here's the explanation (http://www.htmldog.com/articles/suckerfish/dropdowns/).

12-28-2006, 10:10 PM
VIPStephen but I probably didn't explain myself clearly enough...what I want is something similar to the image example I have uploaded for you all to see..

I really hope this helps explain my dilemma..

thanks again!


12-28-2006, 10:27 PM
Because you're expecting the behavior of the web site to change when you click on an element, you'll need Javascript. HTML is just a markup language, CSS is just for style. I'll move this to the JS forum for you.

12-28-2006, 11:37 PM
Sorry about that!

12-29-2006, 12:01 AM
Don't be sorry… that's what the forum is for, to teach us this kind of stuff. :)