Actually, on re-reading this: I see that I made a typo. What I've been
trying is actually:
jmolScript("echo [EMAIL PROTECTED]");
but Jmol is echoing that literally "@variable" and not the contents of that
variable.....
Thanks,
Tom
On Fri, Sep 19, 2008 at 2:50 PM, Thomas Stout <[EMAIL PROTECTED]>wrote:
>
> Hi All --
>
> I guess it's Friday and I haven't had enough coffee, but how would I go
> about passing the value of a javascript level variable to the user via a
> Jmol "echo"? I was thinking something like:
> jmolScript("echo @{variable}");
>
> but that's clearly wrong. Could one of you gurus set me straight? Thanks!
> -Tom
>
> PS -- What I am doing is parsing out the name of a protein from the PDB
> header & I would like to display it in the Jmol applet so that the user
> knows what they are looking at!
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users