onStop

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

構文

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

例文

<html>
 <head>
  <title>onStop</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>

関連記事

スポンサーリンク

-単項演算子 負号

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る