onScroll (Event handler)

The window has been scrolled.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyObject.onscroll = aHandler
HTML syntax:<HTMLTag onScroll="...">
Argument list:aHandlerA reference to a function object to handle the event

Scrolling windows is usually harmless. However, you might have some window content that want to remain visible after the window has scrolled. Perhaps you have some navigation objects placed in a layer that you want to leave positioned where it was regardless of the window scroll position.

See also:Event, Event handler, Event model, Event names, Event object, Event.returnValue, Handler, Semantic event, Window events

Supported by objects:

BODY

CAPTION

DIV

FIELDSET

IMG

LEGEND

MARQUEE

TABLE

TEXTAREA

Window