File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes collapsable list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 60055
    
  65

Moving to the HTML/Javascript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    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.
 
 
subject: collapsable list
 
Similar Threads
Single collapsable panel component
using dt and dt to make expandable / collapsable tree
Collapsable contents
an expandable/collapsable tree view
Collapsable "folder" with JSP/JSTL