1
Suggestions and Requests / Re: BUG: Generated HTML Output incompatable with I
« on: November 08, 2006, 08:00:58 am »
OK, so I certainly wouldnt call this a 'fix', especially since you have to do it everytime you regenerate your html docs, but i was able to fudge the js enough to get documentation to display in IE7.
The error takes place in the js\displayToc.js file, specifically in the resizePage function.
You'll see the following lines
If you were to place an alert(top.document.body.clientHeight), you'll see that slowly but surely the document body height slowly shrinks for some reason, eventually causing the value to be nothing and throwing an error.
Workaround:
For all three document.getElementByID height properties, I simply set them equal to "800+'px';" (so the full line looks like:
Now, atleast the page displays...
The error takes place in the js\displayToc.js file, specifically in the resizePage function.
You'll see the following lines
Code: [Select]
document.getElementById('contentIFrame').style.height=top.document.body.clientHeight-74+'px';
document.getElementById('resizeFrames').style.height=top.document.body.clientHeight-70+'px';
document.getElementById('tocIFrame').style.height=top.document.body.clientHeight-74+'px';
If you were to place an alert(top.document.body.clientHeight), you'll see that slowly but surely the document body height slowly shrinks for some reason, eventually causing the value to be nothing and throwing an error.
Workaround:
For all three document.getElementByID height properties, I simply set them equal to "800+'px';" (so the full line looks like:
Code: [Select]
document.getElementById('contentIFrame').style.height=800+'px';
Now, atleast the page displays...
