The Open Source Physics website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

how to make split panel remember user choice?

Return to the EJS Modeling forum
Login to post to this thread

how to make split panel remember user choice? - Apr 1, 2013 at 2:12AM
lookang Avatar
175 Posts

how to make split panel remember user choice?

dear OSP,

i like the split panel option in EJS and wish to implement it on all my simulation models like the data analysis tool, tracker or EJS authoring toolkit.
but before that, i need to figure out if there is a way to remember past user input on the split panel.

i tried to arrange in preview view the desired split panel look and proportion but i can't make it remember past user choice of the size of the left and right panel.

is it possible to do remember user choice of split panel in current EJS version?

attached is my attempt to implement split panel but with no success at the memory of user choice or start-up size using the preview to determine the look and feel.

Attached File:

OSP@SG blog
OSP@SG Digital Library

The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics