.resize() Bind an event handler to the “resize” JavaScript event, or trigger that event on an element.
.scroll() Bind an event handler to the “scroll” JavaScript event, or trigger that event on an element.