also, make sure that EVERY tag up through the body tag includes at least a
height style attribute:

<body style="height:100%">
<div id="appletplace1"
style="width:80%;height:80%;background-color:red"></div>
</body>

see http://chemapps.stolaf.edu/jmol/jsmol/resize.htm



On Tue, May 14, 2013 at 3:01 PM, Angel Herráez <[email protected]> wrote:

> Hi Rick
>
> >     Would it be possible to have the height and width variables of
> "Info" be expressed as
> >     a percent?
>
> Yes, that is possible. Is it not working for you? Resizing only works well
> with
> a recent version of JSmol. Make sure you use quotes
> width: '100%'
>
>
> >     I am also having problems with a PDB file (1LZ1). It loads and
> displays fine in the applet, but I
> >     get an error message of "unrecognized file format" in JSmol (even
> with using load
> >     PDB::1LZ1.pdb). An ideas what may be wrong?
>
> Is it gzipped?
> Are you runnnig the pages from local disk? You must use a web server (in
> some cases local access is supposed to work, depending on browser, but I
> have had many problems with that; a server is the safe solution --even a
> locally installed server)
>
>
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
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
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to