Following problem:
I have a webapp that uses RichFaces. When I call any of the pages of my webapp in IE 6 or 7, the browser hangs
consuming 50% CPU for indefinite time and can only be killed with the task manager. In Firefox there is no problem at all.
After some investigations I found out that the reason seems to be in the onload and onresize handlers that I have attached to the HTML body element.
They contain among others the following lines:
var scrollArea = document.getElementById("xyz"); if (scrollArea) { scrollArea.style.height = mainAreaHeight; }