OK, here's a first shot:
http://chemapps.stolaf.edu/jmol/jsmol/lite.htm
Tell me what you think.
Subtracting 2 seconds off the load time for the call to
[12:43:56.467] GET
http://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/name/%20dopamine/SDF?record_type=3d[HTTP/1.1
200 OK 2063ms]
should leave you with about 400 ms total load time. The size is about 131
KB total JavaScript unzipped; 45KB gzipped. Capabilities are extremely
minimal, and I suggest we keep them that way -- just balls and sticks.
Nothing fancy. No scripting, but the Info block allows for some
parameterization:
bondWidth: 4,
zoomScaling: 1.5,
pinchScaling: 2.0,
mouseDragFactor: 0.5,
touchDragFactor: 0.15,
multipleBondSpacing: 4,
Be sure to try it on your smart phone.
Comments? Suggestions?
Bob
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users