I'm quite eager to have a simple version of this functionality. Thanks! a) Do you implement callbacks? If so, which ones?
No, though I'd like to (once I understood how it works -- your mechanism I think I understand already!) b) What WOULD you use if you had it available? I want to know what residue a user has clicked on. c) What sort of information (exactly) are you looking for? I want to transfer that info back to the web page so I can highlight that residue in the Jmol display and also highlight portions of the web page (corresponding position in a multiple sequence alignment). d) Is there a particular format that you would like to see, other than just the current text-stream of messages? No, I'm not particular... e) Is it important to you that this mechanism be backward compatible? Just let my current javascript/Jmol interactions (using jmol.js) -- which don't do any callbacks -- work as is. A question of my own: Does your (impressive) demonstration at http://www.stolaf.edu/people/hansonr/jmol/test/json/json.htm involve polling every 1/10 second or some such in order to get updated info (at least for the "orientation info" link)? Thanks again. --Dan ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users