/    Sign up×
Community /Pin to ProfileBookmark

Show and Hide table row/cells

Hi,
Can anyone please explain to me (or show me code) how I would go about creating a table in HTML which I will use for an FAQs page and when one clicks on a row which has the question in it the answer will scroll down in the row bellow it. i.e. making the row below it which has the answer appear. And then when they click on the question row it closes / hides the answer row.

thanks so much

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@Master00Jun 09.2005 — What you are trying to do is referred to as "Collapsing Menu" or "Menu Tree". When you know the correct terminologies, it is much easier to find some helpful information. If this link doesn't cover what you are trying to do, then run those keyboards through a search engine.

[URL=http://www.alistapart.com/articles/domtricks2/]http://www.alistapart.com/articles/domtricks2/[/URL]
Copy linkTweet thisAlerts:
@David_HarrisonJun 09.2005 — marty, it wasn't neccessary to [url=http://www.webdeveloper.com/forum/showthread.php?t=68936]cross post[/url] this, especially after I said I'd write something for you when I had the time.
Copy linkTweet thisAlerts:
@martyauthorJun 10.2005 — marty, it wasn't neccessary to [url=http://www.webdeveloper.com/forum/showthread.php?t=68936]cross post[/url] this, especially after I said I'd write something for you when I had the time.[/QUOTE]
Sorry, I wasn’t sure I wrote it in the right place so I put it up here after putting it under JavaScript. Sorry. You guys have been very helpful
×

Success!

Help @marty spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...