Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

collapsable list

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67650
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the HTML/Javascript forum.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
look for a tree menu with JavaScript.
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
never mind. i downloaded all files. looking into them now.
 
reply
    Bookmark Topic Watch Topic
  • New Topic