Thanks Angel,
It turns out you need to make sure you have the serverURL parameter setup with
a working jmol.php file which loads the external JavaScript files via PHP as a
way to get round the security restrictions you mentioned.
Graeme
From: Angel Herráez [mailto:angel.herr...@uah.es]
Sent:
I am surprised. As far as I know, the jsmol.php is only used for loading
models in binary format (and only for some browsers), not for used to load
the javascript making the page .
Have you tried loading a plain MOL file, for example, or a file from NCI
CACTUS using "load $aspirin" ? That
(This has to do with the fact that we cannot do the usual
create-a-script-tag-to-load-JavaScript in this case. These files are being
called by processes ("reflection") that have to wait until the files are
processed and then continue.)
A number of years ago, Bob wrote code for an approach to loading Wikipedia
compound article molecules from the SMILES on the Wikipedia page (By the pool
at his hotel at Disney in FL - not kidding). I think the returned page from
ethanol is instructive per this email chain.
NOTE: As this
Yes I am loading a plain MOL file and you can see the call to the PHP file
using Chrome's Developer Tools within the Network tab and when you load the
example page you gave
http://biomodel.uah.es/Jmol/audio.htm
You will then see the following URL being called to load the package.js file
Bob,
Maybe your two answer emails reflect this, but did you catch my note about the
current state of the sjmol.php call? This is currently http from Wikipedia. Is
that what you want?
Otis
--
Otis Rothenberger
o...@chemagic.org
http://chemagic.org
> On Sep 10, 2016, at 9:08 AM, Otis
jsmol.php also has to serve .js files if cross-domain, that is when
Info.j2sPath points to a different server.
--
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
Hmm. OK. Thanks for spotting that. I've switched that over. Can't see where
that would be used. But OK.
On Sat, Sep 10, 2016 at 9:29 AM, Otis Rothenberger
wrote:
> Bob,
>
> Maybe your two answer emails reflect this, but did you catch my note about
> the current state of the
8 matches
Mail list logo