From: Michael T H. <mic...@us...> - 2003-05-15 22:58:00
|
Update of /cvsroot/jmol/Jmol-web/source/doc In directory sc8-pr-cvs1:/tmp/cvs-serv2738/source/doc Modified Files: applet.xml Log Message: added doc+example for "script" parameter to applet Index: applet.xml =================================================================== RCS file: /cvsroot/jmol/Jmol-web/source/doc/applet.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- applet.xml 15 May 2003 22:25:09 -0000 1.9 +++ applet.xml 15 May 2003 22:57:57 -0000 1.10 @@ -201,6 +201,18 @@ </appletExample> </param> + <param name="script"> + Allows you to specify a script which is to be run when + the applet is loaded. + <appletExample> +<![CDATA[<applet code="JmolApplet" archive="JmolApplet.jar" + width="200" height="200"> + <param name="load" value="methanol1.cml"/> + <param name="script" value="rotate y 10; loop 1"/> +</applet>]]> +</appletExample> +</param> + </appletParameterList> </section> |