Hello,
I made a button which enables to play the animation in the mode "palindrom"
however if i click on it there is a delay of about 2-3 sec. before the
animation starts is there a possibility to alter this? (coloured red)
Html code is following:
jmol applet animations demo
jmolInitialize("jmol");
jmolCheckBrowser("popup", "../../browsercheck", "onClick");
Animationsbeispiele zur Praesentation
var script=" load jmol/ordner1/cyclo_animation.mol" +
"anim mode palindrome; anim on";
jmolApplet(500, script);
Beispiele:
Animation des Cyclohexans
jmolButton("load jmol/ordner1/cyclo_animation.mol",
"Sessel-Konformation");
jmolCheckbox("select elemNo=1; color lime;", "select *; color cpk;",
"H-Atome markieren");
jmolCheckbox("select
atomNo=7,atomNo=10,atomNo=11,atomNo=13,atomNo=16,atomNo=18; color lime;",
"select atomNo=7,atomNo=10,atomNo=11,atomNo=13,atomNo=16,atomNo=18; color
cpk;", "equatoriale H-Atome markieren");
jmolCheckbox("select
atomNo=14,atomNo=9,atomNo=17,atomNo=8,atomNo=12,atomNo=15; color red;",
"select atomNo=15,atomNo=14,atomNo=9,atomNo=17,atomNo=8,atomNo=12; color
cpk;", "axiale H-Atome markieren");
jmolCheckbox("select elemNo=6; color yellow;", "select *; color cpk;",
"C-Skelett markieren");
jmolCheckbox("zoom 100;background grey;stereo
REDCYAN;", "stereo OFF; background black;","stereo");
Das zweite Beispiel der Praesentation
var script = "load jmol/ordner1/sn2.pdb;" +
"trace on; color trace honeydew";
jmolButton(script, "Start");
jmolCheckbox("select atomNo=4; color yellow;", "select *; color cpk;",
"markieren");
jmolLink("anim mode once; frame 1; anim on", "Einmal
abspielen");
jmolLink("anim mode palindrome; anim on",
"Wiederholt im Palindrom Modus abspielen"
);
jmolLink("anim off", "Animation stoppen");
Anzeige von einzelnen frames
jmolButton("frame 1", "Anfang");
jmolButton("frame next", "Naechster Frame");
jmolButton("frame prev", "Vorhergehender Frame");
jmolButton("frame all", "Alle Frames zeigen");
Animationen koennen mit einer Drehung versehen werden
jmolButton("spin on","spin an");
jmolButton("spin off", "spin aus");
Mann kann per button auch das Modell aendern
var x = new Array()
x[0]=["select all; spacefill off; wireframe on",
"Drahtnetz"]
x[1]=["select all; spacefill 30%; wireframe 40", "ball and
sticks", true ]
x[2]=["select all; spacefill 100%; wireframe off", "CPK
Modell"]
jmolMenu(x)
Hope somebody can help me
Best regards
Maurice
--
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users