That did indeed work, Bob. Thanks.
Now I can use gzip but should I? Thinking about it more, should I bother with
gzip if I know I am targeting an iPad device specifically? I thought I'd be
saving data download resources for good-sized PDB file but what you describe
sounds like it may end up costing someone's data plan more?
I saw some discussion of gzip come up with regard to the packaging of the JSmol
scripts but I didn't catch if there might be things to consider for different
systems/devices.
Wayne
----------------------------------------------------------------------
Date: Wed, 12 Dec 2012 17:10:14 -0600
Subject: Re: [Jmol-users] gzip pdb file in JSmol
To: Wayne Decatur <[email protected]>,
Ah, I know what this is, I think. The browser on your iPad cannot read
binary files using AJAX.
You will need to install jsmol.php (see jsmol.php in jsmol.zip) on your
server and point to that using Info.serverUrl. That is necessary for any
file that is binary with certain platforms so that the page can pass the
URL to the server, which will convert it to base64 format and then pass
that data back to the page.
On Wed, Dec 12, 2012 at 12:02 PM, Wayne Decatur <[email protected]> wrote:
> Hi,
> I have JSmol opening a gzipped pdb file served from a web server on a Mac.
> All is well there. However, the same gzipped file from the same web server
> source for JSmol gives an unknown type error message on an iPad where the
> owner even set the browser settings all to factory. The same iPad will open
> the gzipped water molecule in JSmol from Bob's test2.html page via his web
> server.
> Anybody seen anything like this?
> Thanks,
> Wayne
>
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users