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
down
English[daʊn] US[daʊn]
adv. Down; (sitting, falling, lying) down; (indicating the limit of range or order) down to
prep. (from a height) downward; (indicating position) below...; (indicating direction) down along...; (indicating time) since...
adj. Downward; frustrated; computer or computer system shutdown; (to...) behind the opponent
n. (bird's) down; down; soft hair; hair
vt. To put down; to drink (especially in a big mouth or quickly); to cause to fall; to shoot down (enemy planes, etc.)
vi. Come down; descend; [often used in imperative sentences] go down; lie down
Third person singular: downs Plural: downs Present participle: downing Past tense: downed Past participle: downed
javascript onmousedown attribute syntax
Function: Occurs when the mouse button is pressed.
Syntax: onmousedown="SomeJavaScriptCode"
Parameters: SomeJavaScriptCode Required. Specifies the JavaScript to be executed when this event occurs.
javascript onmousedown attribute example
<html> <head> <meta charset="UTF-8"> </head> <body> <img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" onmousedown="alert('You clicked the picture!')" /> <p>点击图片触发事件</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance