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:
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
Hi everyone,
A probably simple question.
How can I change a JSMol viewer size once it has been initialized?
I want to implement an enlargement button for the viewer so that it transfers
to a modal view on the page and increases its size from it’s default in page
constraints.
Here’s the code
3 matches
Mail list logo