Navigation: Advanced topics > Programming topics > Tabs/Sections Javascript API > Sections methods
Collapses a section.
Syntax
collapse()
Arguments
No arguments.
Return value
No return value.
Example
Collapse the first section.
var sec = pageObj.getSection(0); sec.collapse();
See also:
•Sections API: getSection
•Sections API: expand
•About Tabs/Sections API