From 6e56eb90c0ce1d75dafc66151c4863f2b1a11fdc Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 20 Jul 2021 00:50:01 +0900 Subject: conflicting/Web/API/GlobalEventHandlers/onmousedown を削除 (#1504) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * conflicting/Web/API/GlobalEventHandlers/onmousedown を削除 正規版の方が新しいため、 conflicting 版を削除 * URLの大文字/小文字の違いを修正 * 大文字/小文字の違いをもう一つ修正 --- .../api/globaleventhandlers/onmousedown/index.html | 49 ---------------------- 1 file changed, 49 deletions(-) delete mode 100644 files/ja/conflicting/web/api/globaleventhandlers/onmousedown/index.html (limited to 'files/ja/conflicting') diff --git a/files/ja/conflicting/web/api/globaleventhandlers/onmousedown/index.html b/files/ja/conflicting/web/api/globaleventhandlers/onmousedown/index.html deleted file mode 100644 index a032550510..0000000000 --- a/files/ja/conflicting/web/api/globaleventhandlers/onmousedown/index.html +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: window.onmousedown -slug: conflicting/Web/API/GlobalEventHandlers/onmousedown -tags: - - DOM - - Gecko - - Gecko DOM Reference - - Window -translation_of: Web/API/GlobalEventHandlers/onmousedown -translation_of_original: Web/API/Window/onmousedown -original_slug: Web/API/Window/onmousedown ---- -
- {{ApiRef}}
-

概要

-

{{domxref("window")}} 上での mousedown イベントに対応するイベントハンドラです。

-

構文

-
window.onmousedown = funcRef;
-
- -

-
window.onmousedown = doFunc;
-
-
<!DOCTYPE html>
-<html lang="ja">
-<head>
-<meta charset="UTF-8" />
-<title>onmousedown のテスト</title>
-
-<script>
-window.onmousedown = mousedown;
-
-function mousedown() {
-  alert("mousedown イベントが発生しました。");
-}
-</script>
-
-</head>
-<body>
-<p>ページ上でのマウスクリック(右クリック、左クリック、中ボタン)で  mousedown イベントが発生します。</p>
-</body>
-</html>
-
-

注記

-

ページ上の任意の場所でマウスボタンをクリックすると mousedown イベントが発生し、アラートを表示する関数が呼び出されます。

-

仕様

-

標準仕様書には含まれていません。

-- cgit v1.2.3-54-g00ecf