javascript onmouseout attribute
Translation results:
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
out
UK[aʊt] US[aʊt]
adv.Out; outside, outside; completely, thoroughly; published
prep. (meaning Source) from; (from...) to come out; (to express not being in the original state) to break away; to leave of; peripheral
n. Not popular; out
Third person singular: outs Plural: outs Present participle: outing Past tense: outed Past participle: outed
javascript onmouseout attributesyntax
Function: Occurs when the mouse pointer moves out of the specified object.
Syntax: onmouseout="SomeJavaScriptCode"
Parameters: SomeJavaScriptCode Required. Specifies the JavaScript to be executed when this event occurs.
javascript onmouseout attributeexample
<html> <head> <meta charset="UTF-8"> </head> <body> <img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" onmouseout="alert('鼠标离开了这张图片!')" /> <p>移动鼠标离开图片触发事件</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance