摘要: 状态栏显示鼠标位置捕获事件,并且从事件中获取需要的信息的方法<script language=javascript>//移动鼠标的方法function move(e){ if (document.layers) { var x=e.pageX; var y=e.pageY; } if (document.all) { var x=event.x; var y=event.y; } status="x:"+x+" y:"+y; //组合鼠标的x,y坐标}document.onmousemove = ... 阅读全文
posted @ 2012-07-19 15:55 w0w0 阅读(224) 评论(0) 推荐(0)
摘要: javascript实例学习在当前网页中使用其他网页<object type="text/x-scriptlet" width="500" height="500" data="http://www.baidu.com"></object>也可以用frame<body><iframe onload=alert("加载完毕") src='http://www.sina.com.cn'></iframe></body& 阅读全文
posted @ 2012-07-19 11:18 w0w0 阅读(249) 评论(0) 推荐(0)