I am using the latter. I found that if I clear the cache on Firefox on my
Unix –based (CentOS 5.4) server, it works. It does not work from Firefox or
Explorer on the PC. I tried clearing the cache on those too.

 

Here is the webpage. http://www.helix.b-techconsulting.com/jtest_all.html

 

 

From: Angel Herráez [mailto:[email protected]] 
Sent: Friday, December 04, 2009 2:52 PM
To: [email protected]
Subject: Re: [Jmol-users] running a rasmol script

 

Brian, I suspect your latest problem may be due to lack of syncronization.
That is, when the page contains several applets, they take some time to
load, in parallel. Then the scripts may be called after some applets but
before others. So some of the scripts will fail. It can also depend on the
browser, or even when you reload the page the problem may appear or not at
different applets.

 

The safest way is to call the script from the same jmolApplet call, not
using jmolScript. Or have the jmolScript be called by a user action, hence
delayed till after the page has loaded all the applets.

 

So if per chance you are using something like

  <script type="text/javascript">

      jmolApplet(200, "load MODELS ({0}) jmol/pdb1as5.pdb;", "1"); 

      jmolScript(script jmol/Gcolors1.txt)

  </script>

 

change to

  <script type="text/javascript">

      jmolApplet(200, "load MODELS ({0}) jmol/pdb1as5.pdb; script
jmol/Gcolors1.txt", "1" );

  </script>

 

Is that the case?

  

Internal Virus Database is out of date.
Checked by AVG - www.avg.com
Version: 8.5.238 / Virus Database: 270.14.84/2530 - Release Date: 11/27/09
07:58:00

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to