IE 8 chokes on line 16:
line 16 is the line after "var aw = window.innerWidth;"
<script type="text/javascript">
function setsize() { // adjust divs
var ah = window.innerHeight ;
//alert ("Setsize - ah =" + ah);
var aw = window.innerWidth;
$('leftPane').style.height = '' + ((.99 *ah)-20 ) + 'px'; //<<<<this is
line 16
//document.getElementById("leftPane").style.height = "" + ((.99 *ah)-20
) + "px";
If I replace the prototype code with the getElementById line, I get the
same error.
the error message in the IE8 developer tools is "Invalid argument"
The right side of the assignment is single quote, single quote ((....
Anyone see the problem ?
This works fine in firefox
bill
--
Bill Drescher
william {at} TechServSys {dot} com
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.