From: Robert H. <ha...@st...> - 2014-02-05 16:04:56
|
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 <du...@gm...> 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 > Jmo...@li... > 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 |