<!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>无标题文档</title>
<style>
*{margin:0px; padding:0px;}
#main{ margin-left:600px; margin-top:300px;}
span{ display:block; float:left; margin-right:10px;}
#main ul { list-style:none;}
#main ul li{background:url(big-stars-ie6_8e4d31a6.png) no-repeat -37px 0px; height:20px; width:20px; float:left;}
.active{background:url(big-stars-ie6_8e4d31a6.png) no-repeat 0px 0px; height:20px; width:20px; float:left;}
p{ margin-left:185px;}
</style>
</head>
<script>
window.onload=function(){
var Main=document.getElementById(*main*);
var Span=Main.getElementsByTagName(*span*);
var P=Main.getElementsByTagName(*p*);
var oUl=Main.getElementsByTagName(*ul*)[0];
var aLi=oUl.getElementsByTagName(*li*);
for(var i=0;i<aLi.length;i++){
aLi[i].index=i;
aLi[i].onmouseover=function(){
this.className=*active*;
}
}
}
</script>
<body>
<div id="main">
<span>总体评价</span>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<p></p>
</ul>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
*{margin:0px; padding:0px;}
#main{ margin-left:600px; margin-top:300px;}
span{ display:block; float:left; margin-right:10px;}
#main ul { list-style:none;}
#main ul li{background:url(big-stars-ie6_8e4d31a6.png) no-repeat -37px 0px; height:20px; width:20px; float:left;}
.active{background:url(big-stars-ie6_8e4d31a6.png) no-repeat 0px 0px; height:20px; width:20px; float:left;}
p{ margin-left:185px;}
</style>
</head>
<script>
window.onload=function(){
var Main=document.getElementById(*main*);
var Span=Main.getElementsByTagName(*span*);
var P=Main.getElementsByTagName(*p*);
var oUl=Main.getElementsByTagName(*ul*)[0];
var aLi=oUl.getElementsByTagName(*li*);
for(var i=0;i<aLi.length;i++){
aLi[i].index=i;
aLi[i].onmouseover=function(){
this.className=*active*;
}
}
}
</script>
<body>
<div id="main">
<span>总体评价</span>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<p></p>
</ul>
</div>
</body>
</html>