View Full Version : pulldown after clicking sentence
brianvoe
02-26-2007, 12:39 PM
I am trying to set up a question and answer html and what my boss wants is to have just a list of questions then when you click on the question the answer will pull down under that question. Does anybody know how I would go about setting that up?
danlefeb
02-26-2007, 02:53 PM
As with most things, there's a few ways you could do this. The easiest would be with a DIV set to block that you make visible or invisible with some javascript or something along those lines. Read up on Google's webmaster guide though, because if you hide content then Google (and other search engines, I believe) may drop your site because it's generally frowned upon to do so.
brianvoe
02-26-2007, 03:32 PM
would you happen to know any sites that show how to do this step-bystep?
danlefeb
02-26-2007, 03:39 PM
There's numerous sites that discuss it - just Google to find more :)
Here's an example: http://www.developertutorials.com/tutorials/javascript/hide-display-content-demand-050512/page1.html
brianvoe
02-26-2007, 03:43 PM
thank you I appreciate it.
danlefeb
02-26-2007, 03:55 PM
No problem!
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.