>You might try > >message (Step 1: protonate the alcohol); anim off; delay 5; anim play
Duh. what can I say, I missed that one. This works with an interesting bug. I have the following: if (temp == 2) {document.slider1form.jmolApplet0.script("message (Step 1: protonate the alcohol); anim off; delay 2; anim resume;"); } if (temp == 20) {document.slider1form.jmolApplet0.script("message (Step 2: the leaving group (water) leaves); anim off; delay 2; anim resume;"); } if (temp == 30) {document.slider1form.jmolApplet0.script("message (Step 3: base abstracts a proton to form the alkene); anim off; delay 2; anim resume;"); } The delays work and messages are changed, but each one is executed three times, i.e. the correct frame and the following two frames. Any ideas? Thanks, Rick ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users