I'm having compatibility issues with this code I'm working on with
IE7.
First off, in IE6, when a user loads the webpage, "OnLoad" is called
but not "OnResize". OnResize is only called when the window size has
been changed.
However, in IE7, OnResize is called immediately after OnLoad and is
seems to be constantly called.
Here's a snippet of my code:
<body id="body" enableviewstate="true" onload="setTimeout('onLoad()',
50);" onresize="alert('hi');onResize()"
onmousedown="RememberMouseButtons(); HideTooltip();"
onmouseup="ResetMouseButtons();" onmousemove="RememberMouseButtons
();">
Any reason why the behavior between ie6 and ie7 are different?