clientX、offsetX、layerX、screenX、pageX、x的区别

代码如下: <!Doctype> <html> <head> <title>HTML DOM Event 对象</title> <style> .div1 { position: relative; width: 100px; height: 100px; background: black; top: 200px; left: 200px; }
相关文章
相关标签/搜索