Click here to Skip to main content
12,896,826 members (57,331 online)
Rate this:
 
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 15: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 14-Sep-12 21:59pm
   
Example are fine.actually i need for phone application (phone gap technology)..
RaisKazi 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 14 Sep 2012
Copyright © CodeProject, 1999-2017
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