How do I force a subpanel to be open

I am looking to force a particular subpanel, say Documents, to be open on the loading of a record.  I have found a little code but its all 6.x related.

Parents Reply Children
No Data