I'm not sure I understand the css/printing business.
Me either, but Pshemak said he wanted a substitute image for the printed
version, and seemed to imply that the regular model does not print.
What I am seeing is indeed that the browser prints the HTML5 version all
fine. For the Java applet
On 8/18/2013 6:18 AM, Angel Herráez wrote:
I'm not sure I understand the css/printing business.
Me either, but Pshemak said he wanted a substitute image for the
printed version, and seemed to imply that the regular model does not
print.
What I am seeing is indeed that the browser prints
Pschemak,
Regarding your show image when printing question:
1.- My Firefox does print the contents of JSmol correctly.
2.- WIth HTML5-JSmol you can easily use the cover image option. Then, to
have that being printed in the place of the Jmol object you can use these
CSS rules:
@media print {
I'm not sure I understand the css/printing business. The JSmol/HTML5 prints
directly. It's not set up for use with JSmol/Java.
On Sat, Aug 17, 2013 at 7:04 AM, Angel Herráez angel.herr...@uah.es wrote:
I found a better solution that works both with HTML5-JSmol and Java-Jmol,
and does not
Pschemak,
it might be the same approach.
However, detecting Java is now unreliable. The situations where Java is
installed but disabled are difficult, if not impossible, to detect.
Regarding non-compatible devices, you can detect some checking the
navigator or userAgent, but that is ot totally
On 08/16/2013 01:48 AM, Pshemak Maslak wrote:
Thanks, these are examples of how to hide Jmol/JSmol before (or
during) the loading of the app.
I am after a situation where Jmol/JSmol is normally displayed on page
load for all of those who have Java/JS on their device, but a substitute
picture
Ah, right. You want something automatic. Is that it?
Bad news: There is absolutely no way any more to discover upon page loading
whether Java is installed and not blocked. It just isn't possible. The only
recourse is to explicitly provide links to two versions of your page and
let people choose.
What are the best strategies to have Jmol or JSmol instances replaced
with a static picture when the browser does not have Java or java script
enabled or is on a device that is not capable of handling Jmol/Jsmol?
How can one do the same for for printing browser pages?
Thanks,
PM
Pschemak,
You can see this in operation at
http://ispcsrv.weizmann.ac.il/a2jmolb/browse. Just click on one of the
JSmol icons
Or go here:
http://ispcsrv.weizmann.ac.il/a2jmolb/browse?ip=824e0a1df426f51eed2a5873a5b1978b;set=testSet;jsmolUSE=HTML5
for a single example. This works by setting a
Thanks, these are examples of how to hide Jmol/JSmol before (or
during) the loading of the app.
I am after a situation where Jmol/JSmol is normally displayed on page
load for all of those who have Java/JS on their device, but a substitute
picture is displayed for those who do no not, or when
10 matches
Mail list logo