Hacker News new | comments | show | ask | jobs | submit login

The onresize event fires whenever you change the sized of your browser window. Eg it occurs when you maximize the window or when you click-and-drag on the corner of the window in order to make it smaller or larger. See also https://developer.mozilla.org/en-US/docs/DOM/window.onresize

and when you zoom out.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact