I don't remember if I got an answer to this.


Bob Hanson wrote:


Also extremely useful would be the capability for JavaScript to read the data for a currently displayed file using scripting. For example,


A=new Array()
A=jmolapplet.getAtomCoordinates()

or

XYZ=new Array()
XYZ=jmolapplet.getAtomCoordinates(3)

or setting them:

jmolapplet.setAtomCoordinates(3,XYZ)

or all at once:

jmolapplet.setAtomCoordinates(A)

Is there information somewhere regarding the interactions possible between jmol and JavaScript commands?

Bob Hanson





--

-- Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to