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 Sascha Lefévre 510
1 Sergey Alexandrovich Kryukov 300
2 Abhinav S 230
3 Maciej Los 185
4 Richard Deeming 105
0 Sergey Alexandrovich Kryukov 6,953
1 OriginalGriff 6,311
2 Maciej Los 2,732
3 Peter Leow 2,694
4 Abhinav S 2,652


Advertise | Privacy | Mobile
Web04 | 2.8.150414.1 | Last Updated 14 Sep 2012
Copyright © CodeProject, 1999-2015
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