Try
load ASYNC "x"
It will cause the load command to run twice -- first to start the loading
and then to conclude the loading.
This uses an asynchronous channel. I tried it just now with
n = 0;
...
xxn = setInterval(function() {document.title = "testing " + (n++);},1)
and it fired up
Angel,
Some visual assurance that the user is not hung is a really good idea.
Combining Jmol script with JavaScript is something I often use. It’s just
easier for me. I even define a few Jmol script globals on Jmol load so that I
can fill them with JavaScript using Jmol.script(jmolApplet0, scpt
Thanks Otis
it's basically your #2
I was just playing once again with my old idea od giving the user a hint of
"please wait" and also "things are progressing". Today I had a file that takes
time to load so the idea came back.
My current, regular solution is a Jmol echo "loading..." but when
Angel,
I think the only way you’re going to be able to do this is asynchronously, but
load ASYNC appears to be broken on the version I’m using - 14.2.4 about a year
old.
I’m curious about the specifics of your plan. What are you trying to do?
1) Play with the existing model during new loading.
Hi all,
I'm trying to use the "timeout" command to do something repeatedly until a
file is retrieved and loaded into JSmol. The doc says the timeout will stop
when zap or load are used, so I was expecting this to suit my needs.
I have managed to set a timeout that works, in the form
timeout
5 matches
Mail list logo