|
I think this is the function that seem to confuse IE...:
62 function resizeit() {
63 var myWidth = 0, myHeight = 0;
64 if( typeof( window.innerWidth ) == 'number' ) {
65 //Non-IE
66 myHeight = window.innerHeight;
67 } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
68 //IE 6+ in 'standards compliant mode'
69 myHeight = document.documentElement.clientHeight;
70 } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
71 //IE 4 compatible
72 myHeight = document.body.clientHeight;
73 }
74document.getElementById('fontlist2').style.heigh t = myHeight-180+'px';
75document.getElementById('content').style.height = myHeight-170+'px';
76document.getElementById('preview').style.height = myHeight-270+'px';
77document.getElementById('overlay').style.height = myHeight+'px';
78}
Last edited by Spin; 03-02-2007 at 08:20 PM..
Reason: there seems to be a space between h and t on line 74, but it's not there neither in the original code or when i try to edit
|