Dear Jmolers,

It's been tough, but after many hours, lots of trial and error, and error, and 
error, several 
times despair and then a new spark, and much head scratching, I think that I've 
found a 
cross-browser method for exporting a snapshot of the applet into a page (pop-up 
or 
otherwise) from which it can be easily copied, direct from the browser's pop-up 
context 
menu, and sometimes even saved.

The previous one posted here by Rolf Huehne and Mauricio Carrillo is great, but 
needs a 
Perl script installed in the server (something no every author can do 
him/herself, as I 
understand the script must go to a restricted directory in the server).

The former one, which Bob uses in his site ("show image" link under the applet 
in the 
demo/test pages) does not work in Internet Explorer.

This new one requires a php-enabled server only for IE, but no other server 
configuration, 
so you can do it all even if you are not the webmaster. Firefox and Opera use 
it without php, 
both online and offline. For other browsers, the two possible methods are 
oferred (direct 
offline, or php-online).

For now, it is at
http://angel2008.awardspace.com/JmolImageExport/

Along the next days I will add it to my site, http://biomodel.uah.es/Jmol/, and 
to the Wiki, 
and make it downloadable.

I will appreciate any comments and, particularly, your testing it under 
non-Windows or less-
frequent browsers, so that the code can be made bulletproof.

Hope you enjoy it


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to