Ah --  right -- Info.readyFunction  is the one to use. Perhaps we should
abandon the readyCallback. I think JSmol uses it itself. By using it
yourself, you cancel  code that JSmol needs to finalize the loading. (And
perhaps start more applets loading)

On Tue, Jun 16, 2015 at 12:40 PM, Angel Herráez <angel.herr...@uah.es>
wrote:

> Thanks, Otis
> I am aware of that, but there are two differemt solutions
>
> Info.readyFunction: jmol_isReady
>
> versus
>
> Info.appletReadyCallback: "jmol_isReady2"
>
> So part of my question is whether the 2nd method must be abandoned --
> although it does call the function
> The quotes are correct in the second since they are needed for other
> callbacks, like
>
> Info.loadStructCallback: "hasLoaded"
>
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to