Hi there,
I have two questions:
1. How can I call jsmol applets?
I create an array of appletHandles and at applet.ready add each applet to the
list.
Then, if I want to reset all views to their original position, I do this
for(var i=0;i<applets.length;i++){
Jmol.script(applets[i],’select *;reset;');
}
I get this error
Uncaught TypeError: applet._checkDeferred is not a function
However, when I do
Jmol.script(applet0,’select *;reset;’);
Jmol.script(applet1,’select *;reset;’);
...
it works. Please note here that the applet names are not strings but variable
names, it’s not clear to me how to refer to the objects from my for loop
because the array should contain the objects.
2.
We realized that JSMol requires quite some traffic.
Is there a minimized version for download somewhere?
Thanks,
Thomas
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users