ah-- wait. Jonathan,  JSmol has to use file extensions to guess binary vs
not binary. One is ".jmol". See JmolCore.js:

    Jmol._binaryTypes =
[".gz",".jpg",".png",".zip",".jmol",".bin",".smol",".spartan",".mrc",".pse"];
// mrc? O? others?

  Jmol._isBinaryUrl = function(url) {
      for (var i = Jmol._binaryTypes.length; --i >= 0;)
          if (url.indexOf(Jmol._binaryTypes[i]) >= 0) return true;
      return false;
  }

So do something other than ".jmol.spt"


On Sat, Feb 16, 2013 at 8:13 PM, Gutow, Jonathan H <[email protected]> wrote:

> I got Safari to load my all ascii script fine, by changing to a single
> extension.  I had <filename>.jmol.spt.  This causes Safari to ask for
> server assistance whether I use the script command for the applet call in
> the appletinfo of "script <filename>.jmol.spt" or "load
> <filename>.jmol.spt".  If I remove the ".jmol" and just keep the ".spt" the
> script will load properly in Safari, but still not  in Chrome.
>
> So for Bob and the other JSmol authors, what is JSmol doing with
> extensions?
>
> Jonathan
>                         Dr. Jonathan H. Gutow
> Chemistry Department                                 [email protected]
> UW-Oshkosh                                           Office:920-424-1326
> 800 Algoma Boulevard                                 FAX:920-424-2042
> Oshkosh, WI 54901
>                 http://www.uwosh.edu/facstaff/gutow/
>
>
>
> ------------------------------------------------------------------------------
> The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
> is your hub for all things parallel software development, from weekly
> thought
> leadership blogs to news, videos, case studies, tutorials, tech docs,
> whitepapers, evaluation guides, and opinion stories. Check out the most
> recent posts - join the conversation now.
> http://goparallel.sourceforge.net/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
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
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to