Hi Robert,

Thanks for your earlier answer.

So I tried jmolScriptWait(). When jmolScriptWait() is called, Sarai often 
becomes irresponsive. 
I have experienced this on two different computer, so the problem is probably 
not in my machines. 
Here's one example of jmolScriptWait() call that makes my Safari irresponsive. 

jmolScriptWait("
        boundbox {@centerX, @centerY, @centerZ} {@boxSizeX/2 @boxSizeY/2 
@boxSizeZ/2};
         if (boundboxFlag==1){boundbox ON; axes DOTTED; axes SCALE 3; 
}else{axes Off; boundbox off; };  
        select ((1.1 or 2.1) and within(boundbox)); define atomInBox selected;  
        select ((1.1 or 2.1) and within(group, within(boundbox)))
");

Though I thought jmolEvaluate was used to get a value from Jmol, I am using it 
as a substitute for
jmolScriptWait(). Is there any potential problem with that?

Thanks.

Yingjie

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to