Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

collapsable list

 
pavanasree vasireddy
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

i am trying to display a list which is expandable/collapsable in JSP.

I want to display a list and when i click on that i would like to display the description and all other details of the list item and when click again i want list to display only the list item.

can anyone help me in this regard pleaseeeeeeee???

thanks in advance
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64971
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the HTML/Javascript forum.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
look for a tree menu with JavaScript.
 
Yuriy Fuksenko
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
look here:

http://www.devsoftware.com/dhtmlTest/select.html

I wrote it about a year ago. Do "Sava as" in IE, it will load all the js files for you, and look at the code - should be very simple to use and change.
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yuriy Fuksenko : can you share following js files you use in the above link you mentioned.

<SCRIPT LANGUAGE="JavaScript" SRC="scripts/utilities.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="scripts/select.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="scripts/mover.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="scripts/dragdrop.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="scripts/formatter.js"></SCRIPT>
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
never mind. i downloaded all files. looking into them now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic