|
From: Jochen J. <joc...@fi...> - 2025-06-01 20:46:56
|
At this point there is only this one applet that was created. It is embedded into a div with width & height 100%, which is in a div with width & height 400px. Further applets are only created when the view at the other division is switched to 3D. For some reason in v16 getAppletHTML returns code with a canvas width & height of 0px. JJ > On 1 Jun 2025, at 17:07, Robert Hanson <ha...@st...> wrote: > > Ah. So it is not a Jmol error. It is the browser trying to write an image. And that is why I don't recognize it. I suspect it is having trouble because each time you add another applet the page rebuilds itself. And that applet is the furthest along in the process. So perhaps it is getting hung up. You can avoid this by creating all the divs that will hold applets and sizing them appropriately first and then sequentially creating them, waiting in each case for the readycallback call from the previous. This is smart for a variety of cases similar to yours. > > It's not a Jmol bug per se. |