on

英[?n]   美[ɑ:n] ?

prep. (indicating direction) to; (indicating object) to; (indicating position) on...; (indicating time) at the time of...

adv. (put, wear, connect) on; forward, (continue) go on

adj. active situation, state ;used; happening; planned

mouse

英[ma?s] 美[ma?s]

n. Mouse; mouse ; a shy [timid] person; [informal] bruised eyes

vi.catching mice; spying, secretly looking for

Plural: mice

move

UK[mu:v] 美[muv]

vt.& vi.Move, move

vi.Action; moving; progress ; (machines, etc.) start

vt. propose; move; shake; change

n.change; transfer

Third person singular: moves Plural: moves Present participle: moving past tense: moved past participle: moved

javascript onmousemove attribute syntax

Function: Occurs when the mouse pointer moves.

Syntax: onmousemove="SomeJavaScriptCode"

##Parameters: SomeJavaScriptCode Required. Specifies the JavaScript to be executed when this event occurs.?

Note: Every time the user moves the mouse by one pixel, a mousemove event will occur. This consumes system resources to handle all these mousemove events. So use this event with caution.

javascript onmousemove attribute example

<html>
<head>
    <meta charset="UTF-8">

</head>
<body>

<img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" onmousemove="alert('鼠標(biāo)經(jīng)過了這張圖片!')" />
<p>移動(dòng)鼠標(biāo)至圖片觸發(fā)事件</p>
</body>
</html>

Run instance ?

Click the "Run instance" button to view the online instance