I am creating an Option Page for my Theme, and there are a large number of options. To prevent the page from being super long, I would like to use collapsible sections. I have seen a number of options pages out there, but I want the style and functionality of what WordPress does with its own pages.
Does anyone know how to implement the collapsible handle sections that are used in WordPress into an Options page? I have located code that seems to be the triggers, but I am missing something:
<div id="sectionA" class="postbox" > <div class="handlediv" title="Click to toggle"><br /></div> <h3 class='hndle'><span>Section Label</span></h3> <div class="inside"> The Options Info here </div> </div>
But when I use this code, I don't even get the full styling that you find with the native WP admin pages.
Any help, or links to examples, would be GREATLY appreciated!