- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>无标题文档</title>
- </head>
- <script language="javascript">
- function mouse1(a){
- if(!a)a = window.event;
- window.status = a.clientX+" "+a.clientY;
- }
- function getIE(e){
- if(!e)e =window.evnet;
- var t =e.offsetTop;
- var l =e.offsetLeft;
- while(e=e.offserParent){
- t+=e.offsetTop;
- l+=e.offsetLeft;
- }
- alert("top="+t+"/nleft="+l);
- }
- document.onmousemove = mouse1;
- </script>
- <body>
- </body>
- </html>
课后作业(四)坐标
最新推荐文章于 2024-06-10 22:18:41 发布