this includes <body>, particularly height. See
http://chemapps.stolaf.edu/jmol/jsmol/resize.htm
On Wed, Jul 8, 2015 at 8:13 PM, Otis Rothenberger <osrot...@chemagic.com>
wrote:
> Hi Thomas,
>
> In the Java applet there was a resize command, but I think that that was
> lost in JSmol. I also think that to make Angel’s suggestion work you are
> going to have to style all parent containers, including html and body, with
> % dimensions. If any parent container has a fixed dimension, it’s going to
> lock in place when you resize the window.
>
> Otis
>
> --
> Otis Rothenberger
> o...@chemagic.com
> http://chemagic.com
>
> > On Jul 8, 2015, at 8:22 PM, Thomas Hrabe <thr...@gmail.com> wrote:
> >
> > 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
>
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department 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
------------------------------------------------------------------------------
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