From: <da...@ph...> - 2006-02-10 21:48:06
|
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 |