Hi Angel,

I got #1 to work. Thank you!

Yingjie

On Mar 26, 2011, at 12:16 PM, jmol-users-requ...@lists.sourceforge.net wrote:

> Message: 1
> Date: Sat, 26 Mar 2011 12:48:15 +0100
> From: " Angel Herr?ez " <angel.herr...@uah.es>
> Subject: Re: [Jmol-users] jmolSetCallback usage
> To: jmol-users@lists.sourceforge.net
> Message-ID: <4d8dd27f.29547.74947...@angel.herraez.uah.es>
> Content-Type: text/plain; charset=US-ASCII
> 
> Hi Yingjie
> 
> Both #2 and #3 are calling a script befire the applet has had time to load. 
> That's what you 
> must avoid.
> 
> Maybe this would work:
> jmolInitialize("../jmol/");
> jmolApplet(600, "......; set pickCallback 'moveBox'; ")
> 
> because the 2nd parameter in jmolApplet() is not run until the applet has 
> finished loading.
> 
> Version #1 I think is ok. What are the symptoms? Java errors? Check the Java 
> console to 
> see.
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to