www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
 onabort Event
onabort Event

Fires when the user aborts the download of an image.

Syntax

Inline HTML<IMG onabort = "handler" ... > All platforms
Event propertyIMG.onabort = handlerJScript only
IMG.onabort = GetRef("handler")Visual Basic Scripting Edition (VBScript) 5.0 or later only
Named script <SCRIPT FOR = IMG EVENT = onabort> Internet Explorer only

Event Information

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, a handler can query the event object for the following event properties.

Available Properties

altKey Sets or retrieves a value that indicates the state of the ALT key.
altLeft Sets or retrieves a value that indicates the state of the left ALT key.
ctrlLeft Sets or retrieves the state of the left CTRL key.
returnValue Sets or retrieves the return value from the event.
shiftLeft Retrieves the state of the left SHIFT key.
srcElement Sets or retrieves the object that fired the event.
type Sets or retrieves the event name from the event object.

Standards Information

There is no public standard that applies to this event.

Applies To

IMG
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG