Re: [Jmol-users] deferUncover not working

2016-09-13 Thread Robert Hanson
Right, there are two modes:

  Info.deferApplet = false;
  Info.deferUncover = true;

Image is displayed until applet loading is complete, then applet displays;
no user click involved.
The  purpose is to provide a meaningful image while applet loading is
occurring.

  Info.deferApplet = true;
  Info.deferUncover = true;

Image is displayed, but all applet loading is deferred until the user
clicks.
The  purpose is to allow quick page loading - image only - until action by
the user initiates applet loading.
--
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] deferUncover not working

2016-09-13 Thread Angel Herráez
Thanks, Bob
Sorry for the complaint. It seems I was misunderstanding the use of 
deferUncover 

> Q: Does https://chemapps.stolaf.edu/jmol/jsmol/cover.htm work for you?
> Q: How do these differ from https://chemapps.stolaf.edu/jmol/jsmol/cover.htm ?

They work the same, yes.

So I was expecting the cover image to stay until I clicked, but instead what 
happens (by design) is that the image disappears as soon as the model is 
ready.

I guess I was confused probably because of the wording in coverScript and 
makeLiveImage, see 
http://wiki.jmol.org/index.php/Jmol_JavaScript_Object/Info 

Forget it!
Cheers,
A.



--
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] deferUncover not working

2016-09-12 Thread Robert Hanson
Q: Does https://chemapps.stolaf.edu/jmol/jsmol/cover.htm work for you?
Q: How do these differ from https://chemapps.stolaf.edu/jmol/jsmol/cover.htm
?


On Mon, Sep 12, 2016 at 10:46 AM, Angel Herráez 
wrote:

> Another problem that looks like a bug:
>
> I am unable to use   deferUncover: true,
> it has no effect at all, the model loads straight after the image without
> any clicks.
> This happens both with defaultModel and with a local model loaded via
> Info.script
>
> var Info = {
>defaultModel: "=1crn",
>deferUncover: true,
>coverImage: "some.png",
>color: 'white'
> }
>
> JSmol 14.6.1_2016.07.11
>
> var Info = {
>script: "load =1crn",
>deferUncover: true,
>coverImage: "some.png",
>color: 'white'
> }
>
>
>
>
>
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. http://sdm.link/zohodev2dev
> ___
> Jmol-users mailing list
> 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
--
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] deferUncover not working

2016-09-12 Thread Angel Herráez



Another problem that looks like a bug:


I am unable to use   deferUncover: true,
it has no effect at all, the model loads straight after the image without any 
clicks.  
This happens both with defaultModel and with a local model loaded via 
Info.script


var Info = {
   defaultModel: "=1crn",
   deferUncover: true,
   coverImage: "some.png", 
   color: 'white'
}


JSmol 14.6.1_2016.07.11


var Info = {
   script: "load =1crn",
   deferUncover: true,
   coverImage: "some.png", 
   color: 'white'
}






  



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users