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 mind 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

2. 

We realized that JSMol requires quite some traffic.
Is there a minimized version for download somewhere?

Thanks,
Thomas




------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to