<!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=utf-8" />
<title>PageControl</title>
<script. language="javascript">
function xxx(obj)
{
var lis = document.getElementById('list').getElementsByTagName('li');
for(var i = 0; i <lis.length; i++)
{
lis[i].style.backgroundColor = '#0099FF';
}
obj.style.backgroundColor = '#999999';
}
</script>
<style. type="text/css">
<!--
#list {
width: 515px;
}
#list ul {
margin: 0px;
padding: 0px;
}
#list li {
background-color: #0099FF;
margin: 0px 1px;
float: left;
height: 30px;
width: 100px;
text-decoration: none;
text-align: center;
vertical-align: middle;
font-size: 16px;
cursor:pointer;
}
#content {
background-color: #999999;
height: 100px;
margin:0px 1px;
width: 508px;
}
#main {
width: 515px;
}
-->
</style>
</head>
<body>
<div id="main">
<div id="list">
<ul>
<li nmouseover="xxx(this)">11111</li>
<li nmouseover="xxx(this)">22222</li>
<li nmouseover="xxx(this)">33333</li>
<li nmouseover="xxx(this)">44444</li>
<li nmouseover="xxx(this)">55555</li>
</ul>
</div>
<div id="content"></div>
</div>
</body>
</html>