Paul Pillot wrote:
> I think it is possible through the javascript file api to get access 
> to the content of a local file, 
> and then send this content to Jsmol with the "load data" function.

I doubt that a webpage coming from an external server will be allowed 
to fetch a file from local disk programmatically. That's basic 
security; you do not want pages stealing your files.
I was hoping that you could load a file chosen by the user from a 
dialog, but it seems not to be the case either. Jmol-Java can do it 
but only with the signed applet, to which the user has to give 
permission before.

In addition, browser policies are becoming more and more restrictive 
(right now I am unable to run my own webpages using unsigned Jmol 
applets from my own hard disk).

> Amjad Farooq wrote:
>     But, I think I would continue using Jmol for now but switch to JSmol 
>     when the file upload/save feature becomes available. That is very 
>     important to me and I cannot do away with it.

OK. An intermediate option is to change your pages now to the new JSO 
method but setting the Java option. It will be trivial to switch that 
to using HTML5 JSmol in the future.



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

Reply via email to