Hi Angel,
For now, combining yours and Bob's input I put something similar together to
what you did. I left the console there but covered it up at the start with an
animated gif. I have javascript trigger a style display property change upon
the last line of the script. I designed my animated gif to be very simple since
you said it stutters a lot, and it seems okay. I don't mind the corner so I
don't that needs to be addressed although on an old iPad it does hang on just
'application loaded' quite a while as good-sized pdb file loads.
Eventually I'd like to follow up on what Bob suggest because I think a series
of png or a series of them might be better if the canvas will tolerate it. (Or
is it possible to send only part of a png to the canvas so you can have
multiple frames in the same png image, a similar approach to some of the older
animation tricks?) Then there can be a toggle after development phase to put
the console text behind the loading images.
Wayne
----------------------------------------------------------------------
Message: 1
Date: Wed, 12 Dec 2012 19:11:59 +0100
From: " Angel Herr?ez " <[email protected]>
Subject: Re: [Jmol-users] JSmol initiatlizing messages
To: [email protected]
Hello Wayne
I've done something of the sort in one of my tests.
Don't recall the exact details now, but it was along this line:
The output "console" that rolls many text lines during initialization
is defined in the "Info" object, by default it is located in the same
position where the JSmol goes later.
I managed to set a different box for that console output, and hide it
using css. Then I included (css I think) an animated gif in the
original position. When JSmol is ready it automatically covers the
image.
The problem is the animated gif (progress bar) is jerky, the browser
does not animate it nicely because it is doing other many tasks
(script loading).
The other floating loading messages, at bottom-left in colored font,
are separate from this issue and I have not addressed them.
Hope it helps,
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users