背景及字体变化
<style type="text/css">
.no4{
font-weight:bold; color:#0b5199;
}
.no3{
font-weight:normal; color:#0b5199;
}
.no11{
font-weight:bold; color:red;
}
.no1{
font-weight:bold;
}
.no2{
font-weight:normal;
}
</style>
<td width="58" height="19" background="images/bxz.gif" id="td51" align="center"><span
id="no1" class="no3" onmouseover="showdiv()" style="cursor:hand">求购</span></td>
<td width="58" height="19" background="images/bxz.gif" id="td51" align="center"><span
id="no2" class="no3" onmouseover="showdiv1()" style="cursor:hand">求购</span></td>
<script language="JavaScript" type="text/javascript">
var no1=document.getElementById('no1');
var no11=document.getElementById('no11');
var no3=document.getElementById('no3');
var no4=document.getElementById('no4');
var no2=document.getElementById('no2');
function showdiv(){
//div5.style.display="";
//div6.style.display="none";
no6.className='no3';
no5.className='no4';
}
function showdiv(){
//div5.style.display="";
//div6.style.display="none";
no6.className='no4';
no5.className='no3';
}
</script>