Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Javascript HTML5
Hi
can you please explain or share with code , i want to make table ,On each row of table is something like Subject(title)but clicking the row it show description of the tittle(summary)by expanding its length,when user click another row it close the description of previous selected row and open the description of second row..
 

Thanks
Posted 14-Sep-12 16:07pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It sounds like you want to design something like Accordian panel. If you are using Asp.Net then have a look at below link for "Asp.Net Ajax Accordian panel".
 
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Accordion/Accordion.aspx
 
In case if you want to do this using pure Javascript/Jquery then have a look at below links.
 
http://docs.jquery.com/UI/Accordion
 
http://jquery.bassistance.de/accordion/demo/
 
Cheers - Rais
  Permalink  
Comments
ravinsit89 at 14-Sep-12 21:59pm
   
Example are fine.actually i need for phone application (phone gap technology)..
RaisKazi at 14-Sep-12 22:06pm
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 DamithSL 340
1 Maciej Los 282
2 OriginalGriff 203
3 ridoy 160
4 George Jonsson 90
0 OriginalGriff 7,953
1 DamithSL 6,139
2 Sergey Alexandrovich Kryukov 5,454
3 Maciej Los 5,293
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web02 | 2.8.141223.1 | Last Updated 14 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100