Click to return to the DHTML, HTML     
onafterprint Event     DHTML Events    
Web Workshop  |  DHTML, HTML & CSS

onabort Event


Fires when the user aborts the download of an image.

Syntax

Inline HTML<ELEMENT onabort = "handler" ... >All platforms
Event propertyobject.onabort = handlerJScript (compatible with ECMA 262 language specification) only
Named script<SCRIPT FOR = object EVENT = onabort>Internet Explorer only

Remarks

BubblesNo
CancelsYes
To invoke
  • Click an anchor.
  • Click the browser Stop button.
  • Navigate to another page.
Default action Halts downloading of the designated image.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, the handler can query the event object for data.

Event Object Properties

returnValueSets or retrieves the return value from the event.
srcElementRetrieves the object that fired the event.
typeRetrieves the event name from the event object.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

IMG



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.