Re: [Jmol-users] Fwd: JSMol change viewer size

2016-10-20 Thread Robert Hanson
javascript:Jmol.script(jmolApplet0,'set window 610 450') Adjust to suit. Ah, I think this might be undocumented, but it is on the jsmol.htm page "large" and "small" buttons. Evidence that I have not caught up with the documentation for some time: JmolVersion="14.5.4_2016.04.19" new feature:

Re: [Jmol-users] Fwd: JSMol change viewer size

2016-10-20 Thread Angel Herráez
Hi Thomas Probably the easiest way: 1.- Define you Info variable with width:"100%", height:"100%" 2.- Wrap your source JSmol, as well as your target JSmol, in a DIV and set their size via CSS. JSmol will always fit the wrapper div, which you can easily resize via css and Javascript --- El