Thank you for your quick reply.
So, I have to put
jmolSetCallback(callbackName, "functionName");
before the applet.
Do I have to use pickCallback instead of callbackName ?
like : jmolSetCallback(pickCallback, "functionName"); ?
and what has to be instead of "functionName" ?
function that gets the parameters that are returned from pickCallback?
Is it possible to get some example of usage of jmolSetCallback(callbackName,
"functionName") ?
Thank you again,
Ira.
2009/9/10 Angel Herráez <[email protected]>
> El 10 Sep 2009 a las 10:50, I B escribió:
>
> Hi Ira
>
> What you need has already been invented. If not trivial, quite easy
> to do:
>
> > How can I get atom name + x,y coordinates by clicking atom on jmol
> > applet?
>
> You use the callbacks:
> http://jmol.sourceforge.net/jslibrary/#jmolSetCallback
>
> In your case, "pickCallback"
>
>
> > and what libraries/jmol packages do I need to save on the server to
> > perform this?
>
> None at all. This is included in the standard applet + the Jmol.js
> library.
>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers