…all solved now I hope. Angel explained how to apply the css vw and vh to a div containing a Jmol canvas to resize it dynamically.
It took me a little time to apply to my own page because of the constraints of pre-existing css, but I fixed it and also applied it to the width of the control “console” so that resized in concert. I also set steps for size reduction so that phone rotation would at least accommodate the JMol canvas. Final version still at http://motif.gla.ac.uk/FTB-R/dna.html until I get it mounted on the Uni server. And even if the smartphone is not the device of choice for working with JMol, in teaching one has to face the reality of the situation. Many thanks again to Angel. David __________________________________________________________________ Dr. David P. Leader (Honorary Research Fellow) Boyd Orr Building, University of Glasgow, Glasgow G12 8QQ, UK Phone: +44 (0)141 330 5905 http://www.davidleader.net The University of Glasgow, charity number SC004401 __________________________________________________________________ ------------------------------------------------------------------------------ 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