Paul,
Thanks very much for doing this investigation.
> <param name='MessageCallback' value=echoMessage />
yes
> And I created a javascript function to handle the messages :
> function echoMessage()
> {
> txt = "";
> for (i=0; i<arguments.length; i++)
> {
> txt += i + " : " + arguments[i] + "\n";
> }
> alert(txt);
> }
very good
> So, the MessageCallback method seems to be implemented but is not
> working as expected.
ok
> For more information on how the MessageCallback method works in Chime
> and why it can be usefull :
> - every command sent to chime is displayed by this function (when you
> set debug=true in the plugin parameters)
It is not clear to me exactly what you mean by 'command' in this context.
Do you mean that the text of every RasMol/Chime script statement is sent
through MessageCallBack?
What happens if 'debug=false' is set?
To support this debug parameter the applet syntax will be:
<param name='debug' value='true'>
> - when a selection is done, the number of atom selected is displayed
Is this just the count of selected atoms?
Is there any text or identifier that says it was a selection?
> - when an atom is clicked, its references are given
This sounds very similar to PickCallBack ... none of this is implemented yet.
What do the atom 'references' look like?
> - show chain, show model, show information, show pdbheader, show
> sequence, show view, send a message back to the user via this method.
As I recall, none of the 'show' commands are currently implemented. It
won't be difficult to do, but it hasn't happened yet.
Is the output of these commands in Chime the same as in RasMol?
> As
> Tim told, these functions are very usefull in dynamics web sites.
> In the following page by Eric Martz, you can see how this works in
> Chime.
> http://www.umass.edu/microbio/chime/chimehow/fs_cmdln.htm
This is *very* helpful for me. Thanks!
Miguel
>
> Paul
>
>
>
>
> -------------------------------------------------------
> This SF. Net email is sponsored by: GoToMyPC
> GoToMyPC is the fast, easy and secure way to access your computer from
> any Web browser or wireless device. Click here to Try it Free!
> https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
> _______________________________________________
> Jmol-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users