![]()
This demo collapsible outline defaults to the collapsed state when the page is initially
loaded (click to view or hide)
|
![]()
If you want the list to initially be collapsed when first loading the page, you'll need to manually insert an additional script to the "HEAD" section of the page. (View the source of this page). The additional script contains the function dynCollapse() code. You must also manually insert the following "attribute" to the "BODY" tag:
onload="dynCollapse()"
You should now have a collapsible list that will default to the collapsed state when loading the page.
![]()
![]()