I'm rather surprised about the last posts in this thread. Up to now, I had the "knowledge" that the safest way to avoid timing problems was to put the script in the jmolAplet call and not in a jmolScript. Now it seems there are situations where the other is better (plus the callback, of course).
Jonathan, just a note. I cannot give details now (this is sort of an accumulated perception), but my troubles with line endings have always been less if using a textarea to hold the data. So maybe your hidden DIV could instead be a hidden TEXTAREA and you need less massaging and have less trouble. I think that the browsers handle better the newlines in textareas. At least this is what I reached when experimenting with passing model data between the 2D drawing applet (JChemPaint or others) and the 3D viewing applet (Jmol). ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
