It was just an ordering of Jmol commands in the jmolApplet script parameter.
2010/7/7 Angel Herráez <angel.herr...@uah.es>
> Piero,
>
> Mostly, alerts serve to stop the flow of javascript and whatever
> message you put in them just tells you that the flow is there.
>
> I'm afraid I cannot offer any clear hitn as to what is happening
> precisely in your case.
>
> On the other hand, if your only purpose for defining a
> messagecallback is what you have shown, I would try something simpler
> like
>
> jmolApplet(["520","440"], 'script "scripts/reset.spt";
> set loadStructCallback "plotEnergies"; javascript "loadModels()"; ');
>
> (but I'm just guessing)
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers