On 09/22/2011 11:17 AM, Daniel Carbajo wrote:
> Mmmm, the above does not work for me... even in the console it only writes
> the "it worked" label, but no alert appears... As the residue is already
> labeled by my colorLabel function, I only need to retrieve such label, so
> trying to condense things in just one line of code, I have the following
> working in console:
> print {2:A.CA/1.1}.label
> But again, in the javascript function, the following throws an error:
> var mylabel = jmolEvaluate('{2:A.CA/1.1}.label');
>
> I should say also that the following does not work in console:
> mylabel = {2:A.CA/1.1}.label
> print mylabel
> It outputs "expressionBegin"
>
That's strange. For me it works.
I first thought that it might be a browser isssue (maybe a security
setting that prevents javascript calls). But if even the print doesn't
work there must be another problem, specific to your system.
I wouldn't try such a complicated way as you are doing in your new mail
that came while I am writing this answer.
There seems to be some kind of fundamental problem with your system that
Angel and I don't have on our systems.
Have you tried doing this in a different browser and on a different
computer?
Regards,
Rolf
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users