HTML Div Division
Author: Shawn Modersohn
2025
License: Creative Commons V4
Scope:
The Programs.html page at www.shawnmodersohn.com/Programs.html is a collection of programs separated by programming language. As the page gets longer and longer, being able to find a specific program gets to be overwhelming. I wanted a javascript application that will collapse categories you are not interested in to minimize the number of programs displayed. Naturally the application is able expand any category that was previously minimized. There are two scripts, main.js does the necessary pre-loading of the nodes into memory and excol.js handles the expanding and collapsing.
HTML Structure:
The body tag must have onload=preLoad()
Any HTML can go above here as your page may require