| | |
Text Collapse
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2006
Posts: 1
Reputation:
Solved Threads: 0
Hello,
I'd like to do something in my site's FAQ section. I'd like people to see the questions, and when clicking them, the answers will appear beneath them. This is done on many sites (I don't have a specific example), but I don't know where to look for such a thing (CSS, JavaScript? etc.) and how to do it.
Any help would be great,
Jonathan
I'd like to do something in my site's FAQ section. I'd like people to see the questions, and when clicking them, the answers will appear beneath them. This is done on many sites (I don't have a specific example), but I don't know where to look for such a thing (CSS, JavaScript? etc.) and how to do it.
Any help would be great,
Jonathan
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
A combination of CSS and JavaScript. I'll leave you the joy of researching this on your own, with just a few guiding hints: imagine that your FAQ Answers are within DIV elements. Investigate the various "display" settings in CSS. You basically want to toggle from one "display" to another when a link is clicked. That should give you enough to go on.
Last edited by tgreer; Oct 30th, 2006 at 6:11 pm.
![]() |
Similar Threads
- connect to text file database (Visual Basic 4 / 5 / 6)
- Different Text Display in Different Browser ??? (HTML and CSS)
- can't delete text from table cells (Site Layout and Usability)
- capturing text (C)
- i = system ("cd c:\text"); :( (C)
- Using string variables in a label or text box? (VB.NET)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: CSS syntax and commands
- Next Thread: Posting to same page and re-running javascript
| Thread Tools | Search this Thread |
acid2 ajax ajaxcode ajaxexample ajaxhelp animate array automatically beta box bug calendar cart checkbox class codes column createrange() css cursor date debugger decimal design dom download dropdown editor element embed enter error explorer firefox focus frameworks getselection google gwt hint html htmlform ie7 ie8 iframe images index internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jsp jump listbox maps masterpage math menu microsoft mimic mp4 object onmouseover onreadystatechange parent paypal php player position post problem programming progressbar prototype redirect regex runtime safari scale scriptlets search select shopping size sql text textarea toggle w3c web website window windowofwords windowsxp wysiwyg \n






