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 the page is
printed (from the browser).
Thanks,
PM
On 8/15/2013 6:10 PM, Robert Hanson wrote:
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 few flags in the Info
array. In this case we are showing the same file as a PNG as we are
loading, because it is a PNGJ file.
coverImage: "/a2jmolb/browse?sn=testSet/1bna_surface/jmol.png",
coverCommand: "",
coverTitle: "Loading ... Please wait.", // tip that is displayed before model
starts to load
deferApplet: false, // true == the model should not be loaded until the image
is clicked
deferUncover: true, // true == the image should remain until command execution
is complete
script: "load /a2jmolb/browse?sn=testSet/1bna_surface/jmol.png",
On Thu, Aug 15, 2013 at 1:24 PM, Pshemak Maslak <p...@chem.psu.edu
<mailto:p...@chem.psu.edu>> wrote:
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
------------------------------------------------------------------------------
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
<mailto:Jmol-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jmol-users
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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