Despite Angel’s answer, I yet have not figured out one thing: I am using a responsive framework, so when the size of the jsmol container changes, the size of the jsmol view does not adapt and starts overlaping other elements. How can I make it dynamic?
Thanks, Thomas > On Jun 30, 2015, at 3:33 PM, Angel Herráez <angel.herr...@uah.es> wrote: > > Hi, Thomas > > If the container has a declared size (usually with css), just give JSmol 100%: > > var Info = { > height: "100%", > width: "100%" > }; > Jmol.getApplet("myJmol", Info); > > ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users