<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
#flyb{
display: none;
position: absolute;
}
</style>
</head>
<body>
<script type="text/javascript">
function show(){
var left = window.event.clientX + 10;
var top = window.event.clientY + 10;
if(!document.getElementById("flyb")) return;
document.getElementById("flyb").style.left = left + "px";
document.getElementById("flyb").style.top = top + "px";
document.getElementById("flyb").style.display="block";
}
function hide(){
document.getElementById("flyb").style.display="none";
}
</script>
<img src="img/a22.jpg" id="myimg"onmouseover="show();" onmouseout="hide();" />
<div id="flyb">
<img src="img/33.GIF"/>
</div>
</body>
</html>
添加回答
举报
0/150
提交
取消