Thanks, I removed ".zip" and it started working.

Is there a way to speed up the load time? It takes ~20+ second to load it:
http://modbase.compbio.ucsf.edu/foxs/cgi/showRes2.pl?dirname=pdbfiles_38_22_11_7_1_114&profileFileName=x140xlf.dat

On Wed, Feb 5, 2014 at 8:04 AM, Robert Hanson <[email protected]> wrote:
> the ".zip" in the file name is almost certainly telling JSmol that this is a
> zip file and thus binary. Jmol/Java doesn't care, but JSmol/HTML5 does. And
> Chrome is the  one that would be affected.
>
> So either (1) change that file signature to not include zip or (2) add a
> JavaScript line after you load JSmol.min.js that removes "zip" from
>
>     Jmol._binaryTypes =
> [".gz",".jpg",".png",".zip",".jmol",".bin",".smol",".spartan",".mrc",".pse",
> ".map", ".omap"];
>
> This presumes the data really are NOT binary.
>
> Bob
>
>
>
>
>
> On Mon, Feb 3, 2014 at 12:14 PM, Dina Schneidman <[email protected]> wrote:
>>
>> Hi,
>>
>> I have converted Jmol to Jsmol using adapter library.
>> All works well in Firefox, however for Chrome I get an error message:
>> "unrecognized file format for file ..."
>>
>> Here is a link to the page:
>>
>> http://modbase.compbio.ucsf.edu/foxs/cgi/showRes2.pl?dirname=pdbfiles.zip_23_19_14_30_0_114&profileFileName=x140xlf.dat
>>
>> Any suggestions are welcomed!
>>
>> Thanks!
>>   Dina
>>
>>
>> ------------------------------------------------------------------------------
>> Managing the Performance of Cloud-Based Applications
>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>> Read the Whitepaper.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to