HTML onmousemove Event Attribute
ဥပမာ
ပုံတစ်ပုံပေါ်တွင် mouse pointer ကိုရွှေ့သည့်အခါ JavaScript ကိုလုပ်ဆောင်ပါ
<img onmousemove="bigImg(this)" src="smiley.gif" alt="Smiley">
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ဒြပ်စင်တစ်ခုအပေါ်မှာ ညွှန်ပြနေချိန်မှာ ရွေ့လျားနေတဲ့ onmousemove ရည်ညွှန်းချက်က မီးလောင်သွားပါတယ်။
Browser ပံ့ပိုးမှု
Event Attribute | |||||
---|---|---|---|---|---|
onmousemove | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<element onmousemove="script">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
script | The script to be run on onmousemove |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပံ့ပိုးထားသော HTML တဂ်များ- | HTML ဒြပ်စင်များ မှလွဲ၍ ကျန်- <base>၊ <bdo>၊ <br>၊ <head>၊ <html>၊ <iframe>၊ <meta>၊ <param>၊ <script>၊ <style> နှင့် <title> |
---|
ဆက်စပ်စာမျက်နှာများ
HTML DOM ရည်ညွှန်း- onmousemove ဖြစ်ရပ်
❮ HTML Event Attributes