> Only that if you were to download a file that your browser chooses 
> instead to display in a window - like a text file, perhaps - then you 
> will never see it.

Ok.
But that 'target' is only used inside Jmol._saveFile() function, so 
it will not affect links in general.

On the other hand, as far as I can see other browsers just close that 
blank php window without asking, so I am just forcing IE to do the 
same.


By the way, while testing this I noticed another glitch. 

1. Only IE is having "Jmol._useDataURI" false and hence using the 
method "Asynchronous output to be reflected as a download" in 
jsmol.php for saving.

2. When Jmol is to save a file (using write command, either 
coordinates or images), now Chrome pops the filename dialog (which is 
pre-filled by my JmolScript) but then discards the filename and 
extension and just saves the file as "download.txt" or "download". 
This is nasty. I found that when I force Chrome to use the 
"Asynchronous output to be reflected as a download" method rather 
than the default, "Jmol._useDataURI" true, "Asynchronous output 
generated using an anchor tag", then the filename+ext are preserved. 
So that is a better choice that solves my issue.







------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to