日期:2014-05-16 浏览次数:20345 次
<!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>
<script language="javascript">
function fangda()
{
var tp = getElementById("tupian");
tp.innerHTML.img.src = "f1.jpg"
}
</script>
<style>
</style>
</head>
<body>
<div id="tupian"></div>
<img src="f1.jpg" width="150px" height="100px" onmouseover="fangda" />
<img src="f2.jpg" width="150px" height="100px" />
<img src="f3.jpg" width="150px" height="100px" />
<img src="f4.jpg" width="150px" height="100px" />
<img src="f5.jpg" width="150px" height="100px" />
</body>
</html>