>You've got it right!
>
>return false;
>
>prevents event's default action
>This site might interest you:
http://www.quirksmode.org/js/introevents.htmlBut, the only problem with that is the following. This is why I avoided to use it. I wanted to restrain the resizing under 1256 pixels, assuming the body.client area was that size. But, if the window would have been smaller at first, this would restrain the user, or lock the environment at 1000 pixels for example, blocking the user from the possibility to resize back to a higher width.