Bob,

I threw together a simple2.html with my approach (Jmol part only):

http://dev.gusc.lv/code/jmol/simple2.html - it's on my devevelopment PC, 
so it might be a wee bit slow.

Please take a look at the html source and at simple2.js file. From my 
point of view it's as simple as that, if you have any questions, I'll be 
happy to answer them.

Few things to remember:
1. jQuery Jmol is still just a thin abstraction layer over Jmol applet, 
everything else I've done in pure jQuery - like AJAX loaders etc.
2. I haven't implemented the ChemDoodle yet.
3. I quite didn't understand the point of sending a commands from 
JavaScript to Java, to prompt for the name of a molecule and then Java 
(if I'm not mistaken) calls JavaScript back to get a structure through 
AJAX. So I omitted that part and went straight to AJAX requests using 
browser's prompt dialog.

-- 
Gusts Kaksis


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to