OK, here's where we are at:

I've implemented Angel's suggested changes in JmolCore.js and
JmolApplet.js, and I've added the change to JmolJME.js, with one
exception.

Everything worked there except one change -- the setting of height to
"auto" instead of "95%". It turns out that MSIE with no DOCTYPE tag
requires height:95%. For whatever reason.

The problem arises when the info panel is displayed and there is
overflow. In the case with  no DOCTYPE tag --
http://chemapps.stolaf.edu/jmol/simple4.htm -- setting height:auto
causes MSIE to ignore overflow:auto. Apparently it cannot get the
height. Try http://chemapps.stolaf.edu/jmol/simple4-auto.htm using
MSIE.

In addition, without the <table> wrapper, MSIE without DOCTYPE
miscalculates the height, and even with height:95% the info panel is
slightly larger than it is supposed to be.

But <table> is not an option, I understand that.

Possibilities:

1) We leave it like this, and MSIE without a DOCTYPE tag works reasonably well.

2) We (Gusts? Angel? - I give up) find a fix for the height:auto
problem in MSIE with no DOCTYPE tag. Maybe I'm missing something in
the CSS. If you can spot it, great. The page to make sure works is
http://chemapps.stolaf.edu/jmol/simple4.htm

3) We set height:auto and make if very clear that if you are going to
use the info panel at all, you will need to have a DOCTYPE, or your
page will be broken on MSIE.

4) Other options?

Bob

-- 
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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to