This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes collapsable list Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "collapsable list" Watch "collapsable list" New topic
Author

collapsable list

pavanasree vasireddy
Ranch Hand

Joined: Jun 12, 2004
Posts: 34
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

Joined: Jan 10, 2002
Posts: 56223
    
  13

Moving to the HTML/Javascript forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
look for a tree menu with JavaScript.
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
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

Joined: Dec 16, 2004
Posts: 148
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

Joined: Dec 16, 2004
Posts: 148
never mind. i downloaded all files. looking into them now.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: collapsable list
 
Similar Threads
Collapsable contents
using dt and dt to make expandable / collapsable tree
Single collapsable panel component
an expandable/collapsable tree view
Collapsable "folder" with JSP/JSTL