Hi

I have two applets in a page which are injected with 2 scripts at 
creation time. The 2nd one includes a SYNC command.

This is working with Jmol 12.2.2, signed applet, using Jmol.js and
jmolApplet( mySize, myScript, myName );

Now I adapted to JSmol (jmol-13.3.6_2013.09.14.zip)
using the same applet call filtered by Jmol2.js
All other pages that use this same conversion are working fine, but 
on this one the SYNC seems to be ignored or fails. Both models load 
and look as they should. The title echos are there too.
The failure occurs both in HTML5 and Java modes. Only the 2nd model 
does the final rotation and mouse sync does not work.

Any hints? Shouldn't sync work in JSmol?
Thanks

The scripts:

set zoomLarge off; set hermiteLevel -4;set ribbonAspectRatio 8;
set echo infor 50% 50%;set echo infor center;
echo espere un momento...;color echo [xB03E00];font echo 12 sans; 
refresh;
load geom/par_TA.pdbz;
set echo top center;color echo [xB03E00];font echo 16 sans bold;
color measure [x00AA00];font measure 16 bold;/*comment*/
echo par T-A;

set zoomLarge off; set hermiteLevel -4;set ribbonAspectRatio 8;
set echo infor 50% 50%;set echo infor center;
echo espere un momento...;color echo [xB03E00];font echo 12 sans; 
refresh;
load geom/par_CG.pdbz;
set echo top center;color echo [xB03E00];font echo 16 sans bold;
color measure [x00AA00];font measure 16 bold;/*comment*/
echo par C-G;
sync * on; 
sync * "set syncMouse true;set syncScript true;color hBonds 
[xFF00CC];hBonds 0.08;delay 0.4; move 0 360 0 0 0 0 0 0 4;";



------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to