Thanks Angel,
I have experimented with load inline before but it only works on some browsers. 
Also, I am trying to avoid uploading first, displaying second. I'd like to do 
client-side displaying, then if they choose to, upload to server.

My new strategy is to use load ? to load (which it appears to work on all 
browsers), and somehow transfer the contents to server after. I suppose I can 
get the file contents and store it in a hidden text field, and let server cgi 
read its "value". But then again, it seems too clunky to not break (perhaps on 
large files). Any other suggestions? It's frustrating because it seems so 
trivial.

-Rob

> From: [email protected]
> To: [email protected]
> Date: Wed, 19 Aug 2009 20:01:09 +0200
> Subject: Re: [Jmol-users] display and upload local file
> 
> 
> Hi Rob
> 
> I bet that precisely because of the security there is absolutely no way to 
> upload a file other than using the input type=file box.
> 
> However, Jmol can provide you with a copy of the loaded file contents (at 
> least it is possible from the pop-up menu, so there should be a scripted 
> mechanism to do it). Maybe you can upload that content and have the server 
> script store it as a file, or else as a string (that can be later fed into 
> Jmol with load inline).
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users

_________________________________________________________________
Attention all humans. We are your photos. Free us.
http://go.microsoft.com/?linkid=9666047
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to