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
_________________________________________________________________________
Brian McMahon tel: +44 1244 342878
Research and Development Officer fax: +44 1244 314888
International Union of Crystallography e-mail:
bm@iucr...
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
Jmol-users@list...
https://lists.sourceforge.net/lists/listinfo/jmol-users
opensubscriber is not affiliated with the authors of this message nor responsible for its content.