<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<img class="pic" id="img1" style="position:absolute; z-index:1;" οnmοuseοut="ClearDes(2)"
src="图片路径" >
<img class="pic" id="img2" οnmοuseοver="ShowDes(2)"
style="position:absolute; z-index:1;"
src="图片路径" />
</body>
</html>
<script type="text/javascript">
function ShowDes(id) {
document.getElementById('img'+id).style.display="none";
}
function ClearDes(id) {
document.getElementById('img'+id).style.display = "block";
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<img class="pic" id="img1" style="position:absolute; z-index:1;" οnmοuseοut="ClearDes(2)"
src="图片路径" >
<img class="pic" id="img2" οnmοuseοver="ShowDes(2)"
style="position:absolute; z-index:1;"
src="图片路径" />
</body>
</html>
<script type="text/javascript">
function ShowDes(id) {
document.getElementById('img'+id).style.display="none";
}
function ClearDes(id) {
document.getElementById('img'+id).style.display = "block";
}
</script>