网站制作学习网JS脚本→正文:背景及字体变化
字体:

背景及字体变化

JS脚本 2008/2/23 17:34:45  点击:不统计

<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>

·上一篇:网站进度条4 >>    ·下一篇:相册代码 >>
推荐文章
最新文章