This isn't happening in Jmol 11.7, but basically it means that your callback function should ignore the nulls. I think they are coming from when the model gets cleared in between file loads.
Bob On Tue, Jun 23, 2009 at 1:18 PM, N David Brown <[email protected]>wrote: > I have the following on an HTML element: > > onclick="jmolScript('set loadstructcallback "alert"; load > trajectory myfile;')" > > Alert appears twice for me - first with 'null', secondly with 'myfile'. > > Can someone please tell me whether the same happens for them? > > Thanks. > > - N David Brown > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jmol-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jmol-users > -- 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
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

