I experimented some with further reducing the load time for JSmol. Removal
of all script code brings us down by 25% (you can still send scripts, but
if you DO NOT, then 0.5 Mb of code is not delivered). Note that JSmol can
be programmed without scripting, but you have to know your way around it.
For example, this loads a file:
jmolApplet0._applet.viewer.openFile("xxxx")
But none of that is documented.
We had some problems with MSIE 9, but that should be fixed. If someone
would try this with Safari 5.1, I would appreciate it. Particularly the
link down on the middle column, load k04041.cif {1 1 1}
The problem with these browsers is that we have to fake Int32Array and
Float64Array. I was not doing that correctly, but now I think I have it
right.
Bob
http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm
http://chemapps.stolaf.edu/jmol/jsmol.zip
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users