I don't know if it's the solution to Jonathan's problem, but Angel is correct, 
at least on a Window's server. Served file suffixes have to be registered. I 
don't understand why this would be browser dependent, however.

Quite some time ago, I got tired of having to go to my server administrator to 
request changes to the registry for added suffixes. Since Jmol recognized the 
coordinate files and script files that I was using automatically, I simply 
started to use .txt for all of them. I realize this may not be a solution for 
all files, but for .mol, .mol2, .xyz, .spt, .sdf, and .spartan this approach 
works.

Again, none of this should be browser dependent to my understanding.

Otis



--
Otis Rothenberger
[email protected]
http://chemagic.com

On Feb 17, 2013, at 6:51 AM, Angel Herráez wrote:

> Jonathan, I'd say that has nothing to do with JSmol but with server 
> configuration.
> 
> I saw that for JSmol pages, being all js loaded into the browser, gets a 
> different behaviour than with Java. For example, from my server the 
> extension also raised different behaviours when loading (I don't remember 
> the exact details now, but I think had something to do with gzipped pdb 
> files).
> I think that the server delivers files in one way or another based on 
> extensions known to it.
> Sorry I cannot be more specific.
> 
> 
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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