As part of our course development, we need a _javascript_ to "reset" a JMol applet. The use case is this
(a) student loads a web page with default rendering of a molecule (eg wireframe)
(b) student makes some changes using applet pop-up menu (eg changes render scheme to ball and stick, does some rotations etc)
(c) student decides he/she is on the wrong track and wants to reset the applet to its initial state, as on page load
So what is the _javascript_ to "reset" to initial state on page load?
I tried document.applets['jmol'].init(), but this threw a security excpetion. I was thinking that calling the applet's init method should re-initialize the applet.
Comments?
Thank you
University of Cambridge
CARET
Centre for Applied Research in Educational Technologies
16 Mill Lane
Cambridge CB2 1SB
England
Tel:
Fax:
eMail:
web:

