Re: [Jmol-users] ff3 vs safari.. again.. load

2008-10-05 Thread Robert Hanson
Angel has it exactly. Just to be clear, for ANY browser: 1) Never use jmolScript() during page loading. The applet won't be there. 2) Never run a Jmol script from the body onload event. On most browsers the applet won't be loaded yet. 3) If possible, put whatever start-up script you want to use in

Re: [Jmol-users] ff3 vs safari.. again.. load

2008-10-04 Thread Angel Herráez
On 25 Sep 2008 at 11:09, rob yang wrote: > That works, although I needed to sleep for 500 instead of 100. the > loadLigands() function is fired > up by . I am wondering if it's a case of safari > browser does > something different in executing the functions. It almost > seems to me like > lo

Re: [Jmol-users] ff3 vs safari.. again.. load

2008-10-04 Thread rob yang
Thu, 25 Sep 2008 10:52:35 -0500 From: [EMAIL PROTECTED] To: jmol-users@lists.sourceforge.net Subject: Re: [Jmol-users] ff3 vs safari.. again.. load no kidding! What's firing the loadLigands() function? A button? A callback (that could be the problem -- not good to run jmolScript from a callb

Re: [Jmol-users] ff3 vs safari.. again.. load

2008-10-04 Thread rob yang
Re: [Jmol-users] ff3 vs safari.. again.. load no kidding! What's firing the loadLigands() function? A button? A callback (that could be the problem -- not good to run jmolScript from a callback on some platforms, I think). Try using setTimeout("loadLigands('')",100)

Re: [Jmol-users] ff3 vs safari.. again.. load

2008-09-25 Thread Robert Hanson
no kidding! What's firing the loadLigands() function? A button? A callback (that could be the problem -- not good to run jmolScript from a callback on some platforms, I think). Try using setTimeout("loadLigands('')",100) in whatever call is doing that. I know the quotes are pain there. You m

[Jmol-users] ff3 vs safari.. again.. load

2008-09-25 Thread rob yang
Hi all, So here's something new that's confusing me. I am loading a multi-structure mol2 file. That's as simple as it gets, right? That's what I thought too till safari spoke. In Firefox3, the molecule loads no problem. In safari, it doesn't.. *unless* I put in an alert message right before the