62,074
社区成员
发帖
与我相关
我的任务
分享
<!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>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table id=fods cellSpacing=0 cellPadding=0 border=0>
<tr>
<td >
<UL class=dis>
<LI><IMG src="images/06.jpg" width="781" height="440" border=0></LI></UL>
<UL class=undis>
<LI><IMG src="images/07.jpg" width="781" height="440" border=0></LI></UL>
<UL class=undis>
<LI><IMG src="images/08.jpg" width="781" height="440" border=0 /></LI></UL>
<UL class=undis>
<LI><img src="images/09.jpg" width="781" height="440" border=0></LI></UL>
<UL class=undis>
<LI><IMG src="images/10.jpg" width="781" height="440" border=0> </LI></UL>
</td>
<td id=Fod_list width=154>
<div class=mod onmouseover=fodd(this)><img src="images/01.jpg" /></div>
<div class=moardd onmouseover=fodd(this)><img src="images/02.jpg" /></div>
<div class=moardd onmouseover=fodd(this)><img src="images/03.jpg" /></div>
<div class=moardd onmouseover=fodd(this)><img src="images/04.jpg" /></div>
<div class=moardd onmouseover=fodd(this)><img src="images/05.jpg" /></div>
</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
function fodd(obj)
{
//var p = document.getElementById("Fod_list").getElementsByTagName("div");
var pd = obj.parentNode.parentNode.parentNode.parentNode;
//alert(p.innerHTML);
var pd1 = obj.parentNode.getElementsByTagName("div");
var td = pd.getElementsByTagName("td")[0].getElementsByTagName("ul");
var nd = pd1.length;
for(i=0;i<nd;i++)
{
if(pd1[i] == obj)
{
pd1[i].className = "mod";
td[i].className = "dis";
}
else
{
pd1[i].className = "moardd";
td[i].className = "undis";
}
}
}
</script>
</body>
</html>