Folding Applications

On this page you see JavaScript-driven folding applications. All shown examples have been implemented using the same JS code with different options.

See source code on page bottom.

Tree

Simple:

  1. chapter 1
    1. chapter 1.1
    2. chapter 1.2
    3. chapter 1.3
      1. chapter 1.3.1
      2. chapter 1.3.2
      3. chapter 1.3.3
    4. chapter 1.4
  2. chapter 2

Fully expanded it looks like (click to expand):

  1. chapter 1
    1. chapter 1.1
    2. chapter 1.2
    3. chapter 1.3
      1. chapter 1.3.1
      2. chapter 1.3.2
      3. chapter 1.3.3
    4. chapter 1.4
  2. chapter 2

Complex:


Fully expanded it looks like (click to expand):

Disclosure

Initially Collapsed

Wikipedia

Java


Initially Expanded

Wikipedia

Java


Click here to view page source.

ɔ⃝  Fritz Ritzberger, 2014-12-30