JavaScript Reference/Event Handlers Reference/onAbort
Содержание
"onAbort" Example
<head>
<script language="JavaScript">
function function1() {
alert("The loading action has been aborted\nTry later")
}
</script>
</head>
<body>
<img src="http://www.wbex.ru/style/logo.png" onabort="function1()">
</body>
"onAbort" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<img> |
+----------------+--------------------------------------------------------------+
"onAbort" Properties
+----------------+--------------------------------------------------------------+
| Properties |altKey altLeft |
| |ctrlLeft returnValue |
| |shiftLeft srcElement |
| |type |
+----------------+--------------------------------------------------------------+
"onAbort" Syntax and Note
Note:
Fires when the user aborts the download of an image.
To trigger this event you must do one of the following:
1)click the browser"s stop button,
2)navigate to another page, or
3)click another link on the page.