What is the difference between screenX/Y, clientX/Y and pageX/Y?

后端 未结 7 1311
夕颜
夕颜 2020-11-22 13:38

What is the difference between screenX/Y, clientX/Y and pageX/Y?

Also for iPad Safari,

相关标签:
7条回答
  • 2020-11-22 14:26

    The difference between those will depend largely on what browser you are currently referring to. Each one implements these properties differently, or not at all. Quirksmode has great documentation regarding browser differences in regards to W3C standards like the DOM and JavaScript Events.

    0 讨论(0)
提交回复
热议问题