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 foolprof as you must specifi 
each one you know manually, and they might have the ability to run Java or 
html5 JSmol added somehow..

Apart from all that, what you can do is add some javascript for detecting the 
system "features" and based on that apply the Jmol object code or the 
image.
For printing, you can probably use specific CSS rules to hide the Jmol object 
and use the image as background for its container.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to