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: set window width height
new feature: set window [width height]
new feature: set window "xxx.png"




On Thu, Oct 20, 2016 at 1:44 PM, Angel Herráez <angel.herr...@uah.es> wrote:

> 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 software de antivirus Avast ha analizado este correo electrónico en
> busca de virus.
> https://www.avast.com/antivirus
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to