<!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>
<title></title>
<title></title>
<script type="text/javascript">
function change(imgID, imgurl) {
var img = document.getElementById(imgID);
img.src = imgurl;
}
</script>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" frame="void" style="border-collapse:collapse;">
<tr>
<td οnmοuseοut="change('img1','images1/A_01.jpg')" οnmοuseοver="change('img1','images1/B_01.jpg')">
<a href=""><img id="img1" src="images1/A_01.jpg" /></a>
</td>
<td οnmοuseοut="change('img2','images1/A_02.jpg')" οnmοuseοver="change('img2','images1/B_02.jpg')">
<a href=""><img id="img2" src="images1/A_02.jpg" /></a>
</td>
<td οnmοuseοut="change('img3','images1/A_03.jpg')" οnmοuseοver="change('img3','images1/B_03.jpg')">
<a href=""><img id="img3" src="images1/A_03.jpg" /></a>
</td>
<td οnmοuseοut="change('img4','images1/A_04.jpg')" οnmοuseοver="change('img4','images1/B_04.jpg')">
<a href=""><img id="img4" src="images1/A_04.jpg" /></a>
</td>
</tr>
</table>
</body>
</html>
鼠标焦点切换图片
最新推荐文章于 2018-12-13 22:06:37 发布