better, edit this code and add it after you have loaded JSmol.min.js:
Jmol._binaryTypes =
[".gz",".jpg",".png",".zip",".jmol",".bin",".smol",".spartan",".mrc",".pse"];
// mrc? O? others?
On Thu, Sep 12, 2013 at 5:53 PM, Robert Hanson <[email protected]> wrote:
> Look for ".gz" in the minified or not minified JavaScript. You will see a
> list. Add your file extension.
>
>
> On Thu, Sep 12, 2013 at 5:59 PM, Angel Herráez <[email protected]>wrote:
>
>> > can't you at least give them .gz for part of the filename or extension?
>> How much flexibility do you
>> > have?
>>
>> Well, I have all flexibility or none.
>> I would have to batch-rename all model files and then carfeully
>> batch-edit all
>> htm or spt files. I'd rather not do that; the site has quite a bunch of
>> files and
>> lives in a server I do not own (although I have ftp access) -- I'd like
>> to mess
>> as least as possible with it. 144 model files, ca. the same number of
>> htm/spt
>> files, across about 100 folders.
>> Unless I can edit some JSmol source code to add 3 custom extensions...
>>
>> If I must rename the files, then making them .gz or anything else is the
>> same,
>> no problem. But my interest was in not touching them.
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> How ServiceNow helps IT people transform IT departments:
>> 1. Consolidate legacy IT systems to a single system of record for IT
>> 2. Standardize and globalize service processes across IT
>> 3. Implement zero-touch automation to replace manual, redundant tasks
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&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
>
>
--
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
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users