From: Angel H. <ang...@ua...> - 2007-05-11 14:05:46
|
> But you use cartoons, so > JmolApplet0_ShapesBio.jar (52K) is downloaded when the first script that > involves a cartoon is invoked. Yes, I've understood that, and it's a great advantage to have reduced downloads adjusted to needs. It can, however, be disconcerting that the first "cartoon" (or other, similarly) command will have a delay. Just a reflection: I won't request a way to force loading of certain modules (I know that calling JmolApplet.jar will load everything, but I prefer the modular variety), but we have to think of ways for the webpage author for pre-loading the module which will be needed later, e.g. while the user is reading the entry page. The user may be prepared for an initial delay, for hardly for one when he clicks on a button. I did something similar yesterday by including, in a homepage that doesn't need to show models, a "Wait until Jmol is ready" message above a small applet that only does an echo "Jmol is ready". Meanwhile, the user can go on reading the presentation, and when the "reay" is shown, move to the first page with real content. |