Bob,
The call from the client is a Jquery call to an .aspx script on my server that
reads the remote file and returns it as text. Here’s the actual call to the
client for 1smd:
http://chemistry.illinoisstate.edu/osrothen/models.aspx?name2pdb=1smd
<http://chemistry.illinoisstate.edu/osrothen/models.aspx?name2pdb=1smd>
The pdb load works just fine, but I recently noticed that jsmol.php intervenes
in this process. I noticed this because I mistyped the JSmol info variable url
for the php file, and I got an error on any pdb load attempt about not being
able to find the php file. I’m using a straight forward JmolScript load with
the url of my server - e.g above.
In VB, here is the condition of the returned pdb file is:
Response.ContentType = "text/plain"
Response.AppendHeader("Access-Control-Allow-Origin", "*”)
This is not a huge issue for me, but because the CheMagic server will not run
php unless I pay a sizable fee, I’m trying to cut php out of the picture where
ever I can. I never noticed this before, because I’ve been pointing that Info
item the PHP friendly ISU server.
I am using an August 2014 version of JSmol.
Otis
--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com
> On Feb 28, 2015, at 2:38 PM, Robert Hanson <hans...@stolaf.edu> wrote:
>
> The question would be -- what's the call from the client
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users