Dear Bob

Again, thanks - that does the job nicely.

Best regards
Brian

On Thu, Nov 12, 2009 at 10:43:40AM -0600, Robert Hanson wrote:
> Brian, yes, that's important. But we can do a try/catch there. See attached.
> 
> On Thu, Nov 12, 2009 at 9:37 AM, Brian McMahon <[email protected]> wrote:
> 
> > I have run into a problem in upgrading our production servers to Jmol
> > 11.9.8 (from 11.5.37). We have a number of cases where one machine,
> > let us call it journals.chester.iucr.org, hosts framesets in which a
> > frame contains a Jmol figure. Sometimes the component frames are
> > served from the same server; sometimes they are served by a different
> > one (scripts.iucr.org). With the upgrade, the latter case fails with a
> > Java General Exception (JmolApplet class not found).
> >
> > An example of what I mean is given at
> >   http://journals.chester.iucr.org/test.html
> >
> > The difference in behaviour can be traced to the fact that Jmol.js
> > implements some code to locate the applet. In recent Jmol.js, that is
> > done through calls to top.location.search.indexOf(), where previously
> > document.location.search.indexOf() was used.
> >
> > If I change "top" back to "document" in Jmol.js, I can recover my
> > desired behaviour. Can this change be implemented in future versions
> > of Jmol.js, or is there a good reason why it was changed?
> >
> > Thanks
> > Brian
> -- 
> 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
_________________________________________________________________________
Brian McMahon                                       tel: +44 1244 342878
Research and Development Officer                    fax: +44 1244 314888
International Union of Crystallography            e-mail:  [email protected]
5 Abbey Square, Chester CH1 2HU, England

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to