Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Collapse Panes or Accordions

Status
Not open for further replies.

blackrabbit

IS-IT--Management
Aug 22, 2002
204
US
I've got a site that has an "About Us" section and under this section there will be a number of different categories like "About Us", "Our Services" "Pricing" etc etc and stuff like that.

What i wanted to do was have each subsection expand with details when the user clicked on the title of the section. I was wondering though what ajax control would be better, having mutiple Collapsible Panels in a table structure or an accordion? The collapsible panels are easier for me to work with since VS 2005 has toruble rendering the accordion.

What are other people doing?
 
I would not be using AJAX at all for that kind of problem. I would deliver the data content to the page (so search engines can index it etc) and then use Javascript to enhance the user experience though the use of some display none/block madness that gets applied when the page has loaded.

Cheers,
Jeff

[tt]Visit my blog [!]@[/!] Visit Code Couch [!]@[/!] [/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top