Requisites pursued:
Extra requisite achieved in v.0.5 and later:
Tested on:
Version 0.7 (built on 0.5a) Automatic resizing of Jmol and text panels when page is resized. Needs Jmol 11.1.20 or later (can be used with 11.0 or 10.2, with a patched Jmol.js). Everything is sized in percent, and no "onResize()" business is involved. All of them can work with Jmol on the left or on the right side (top/bottom for E and F).
These templates (instructions enclosed) are offered under Creative Commons “Attribution-ShareAlike” licence.
|
download template A |
|
download template B |
|||||||||
|
download template C |
|
download template D |
|||||||||
|
download template E |
|
download template F |
|||||||||
The only difference between the following pairs is in the call insertJmol("left") or insertJmol("right") !
Version 0.3a (adds a border to indicate separation between text and model --a matter of tastes--)
Square Jmol panel:
|
see it working |
|
see it working |
Version 0.4 (built on 0.3; Jmol panel is reduced to include a tools/help/info panel below)
Square Jmol panel:
|
see it working |
|
see it working |
Version 0.5a (built on 0.3; adds automatic Jmol panel resizing when page is resized)
Rectangular Jmol panel
This needs Jmol 11.1.20 or later. Everything is sized in percent, and no "onResize()" business is involved.
|
|
see it working |
For v. 0.6 I'm trying to work out an always-square-applet solution, but it's not easy, since we loose the automatic resizing. --abandoned for now--
Comments appreciated, to angel.herraez [at] uah [dot] es