On 09/19/2014 05:30 PM, Otis Rothenberger wrote:
> Thanks Rolf,
>
> I'm not sure about the really long time. On the first load, JSmol has to
> load. After that, it will be in cache.
>
> On Chrome and Safari, I can load with the model kit hidden. FF requires
> that the Jmol stuff in the iFrame must be loaded while displayed. I'm using
> a Jmol is ready call back to trigger hiding - not sure about the really
> long initial hide???
>
> On my Mac Chrome, after cache disappearance time is about 2 seconds. If I
> clear cache and reload, disappearance takes about 5 seconds.
>
Maybe it was just a very slow connection to your server. After some time 
I just forced it to hide using the button. So I don't know how long it 
really would have taken.

For me the total time after hitting the reload button is about 12 
seconds and the time between appearance and disappearance of the model 
kit is about 4 seconds.

A little suggestion for the button. Since it already has an ID and you 
are using jQuery it would be rather simple to adapt the button text to 
the current state of the model kit, e.g.:
  $("#togVMK").val("Show the Virtual Model Kit");
  $("#togVMK").val("Hide the Virtual Model Kit");

Regards,
Rolf

-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&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