onmousedown

1. 基本情報

説明 マウスのボタンが押された時に実行するスクリプトを記述する
語源 ON the MOUSE button being DOWN
値の型 Script (CDATA)
解説 マウスのボタンが押された時に実行するスクリプトを記述します。
使用要素 map, body, hn, p, div, span, em, strong, dfn, abbr, acronym, q, blockquote, cite, address, code, samp, kbd, var, pre, a, dl, dt, dd, ol, ul, li, object, big, small, b, i, sup, sub, tt, hr, del, ins, form, fieldset, legend, label, input, button, textarea, select, optgroup, option, table, caption, thead, tfoot, tbody, tr, th, td, colgroup, col, img, area, noscript, link, ruby, rbc, rb, rtc, rt, rp

2. 解説

2-1. 概要

onmousedown属性は、mousedownイベントが発生した時に実行するスクリプトを記述します。mousedownイベントは、マウスなどのポインティングデバイスのポインタがこの要素の上にある状態で、そのポインティングデバイスのボタンが押された時に発生します。

mousedownイベントはバブルし、キャンセルできます。

[onmousedown]
Published : 2006-03-26T09:00:00+09:00
Last Modified : 2007-02-19T09:00:00+09:00
Table of Contents : 属性目次
Index : 属性索引
Verified with : Valid XHTML 1.1
Copyright © 2006 - 2007  E+X.