This example demonstrates how to assign an "onresize" event to a body element.
Try to resize the browser window.
Window resized 0 times.