Decrease Font Size
Increase Font Size
   BLOG

IE Fires Onresize When Body Resizes

IE Fires Onresize When Body Resizes

IE 6.0 Fires Onresize When Button click

 

I have something like this in one of my JavaScript.

window.onresize = function() {
  //do something here
}

It works fine for IE 7.0 and Firefox but not on IE 6.0.

Whenever I click on a button in IE 6.0, it trigger the window.onresize. After doing some research I found this site, which solve my problem. Thanks!

IE Fires Onresize When Body Resizes