onStop

書式

document.onstop = "イベント発生時の処理"

説明

ページの読み込みが中止された時に発生します。Windows版Internet Explorerのみ利用することができます。

サンプルコード [実行]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Sample</title>
</head>
<body>
<script type="text/javascript"><!--
document.onstop = function() {
alert("Stop !!");
}
// --></script>
<div id="result"></div>
<img src="photo.jpg" width="300" height="196">
<img src="photo.jpg" width="300" height="196">
<img src="photo.jpg" width="300" height="196">
</body>
</html>