User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 397,781 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,413 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1972 | Replies: 1
Reply
Join Date: Oct 2006
Posts: 1
Reputation: Crumbs is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Crumbs Crumbs is offline Offline
Newbie Poster

Text Collapse

  #1  
Oct 30th, 2006
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Posts: 1,590
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Text Collapse

  #2  
Oct 30th, 2006
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 5:11 pm.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 4:56 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC