<HTML><HEAD><TITLE>绝对经典的滑轮新闻显示(javascript+css)</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<style type="text/css"><!--BODY {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px auto; COLOR: black; LINE-HEIGHT: 150%; PADDING-TOP: 10px; BACKGROUND-COLOR: white; TEXT-ALIGN: center}
.dis {DISPLAY: block}
.undis {DISPLAY: none}
#cntR {WIDTH: 302px}
#NewsTop { CLEAR: both; MARGIN-BOTTOM: 16px}
#NewsTop P { FLOAT: left; LINE-HEIGHT: 21px}
#NewsTop P.topTit { FONT-WEIGHT: bold; WIDTH: 117px}
#NewsTop P.topC0 { BACKGROUND: #dcdcdc; BORDER-LEFT: #f2f2f2 1px solid; WIDTH: 40px; CURSOR: pointer}
#NewsTop P.topC1 { BACKGROUND: #c2130e; BORDER-LEFT: #f2f2f2 1px solid; WIDTH: 40px; COLOR: #fff}
#NewsTop #NewsTop_tit { BORDER-BOTTOM: #c2130e 3px solid; HEIGHT: 21px}
#NewsTop #NewsTop_cnt { PADDING-LEFT: 32px; BACKGROUND: url(
http://www.makewing.com/images/uppic/200707260904030.gif) no-repeat 12px 13px; LINE-HEIGHT: 26px; PADDING-TOP: 7px; HEIGHT: 260px; TEXT-ALIGN: left}
#NewsTop #NewsTop_cnt A { COLOR: #666; TEXT-DECORATION: none}
#NewsTop #NewsTop_cnt A:hover { COLOR: #c2130e; TEXT-DECORATION: underline}
--></style>
<script type="text/JavaScript">
<!--
function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}
//-->
</script>
</HEAD>
<BODY>
<DIV id=cntR>
<DIV id=NewsTop>
<DIV id=NewsTop_tit>
<P class=topTit>新闻排行</P>
<P class=topC0>国内</P>
<P class=topC0>国际</P>
<P class=topC0>社会</P>
<P class=topC0>网评</P>
</DIV>
<DIV id=NewsTop_cnt><SPAN title="Don't delete me"></SPAN>
<SPAN>
<A href="
http://www.makewing.com" target=_blank>新疆阜康铁路桥梁坍塌多节运煤车厢侧翻坠河</A><BR>
<A href="
http://www.makewing.com" target=_blank>最高法:承诺不判赖昌星死刑没有超越法律程序</A><BR>
<div align="right"><A href="
http://www.makewing.com" target=_blank>...more</A></div>
</SPAN>
<SPAN>
<A href="
http://www.makewing.com" target=_blank>美华裔女兵在营房上吊死亡军方介入调查(图)</A><BR>
<A href="
http://www.makewing.com" target=_blank>组图:美国总统布什被撞</A><BR>
<A href="
http://www.makewing.com" target=_blank>匈牙利20万人示威 政要被民众扔鸡蛋(组图)</A><BR>
<div align="right"><A href="
http://www.makewing.com" target=_blank>...more</A></div>
</SPAN>
<SPAN>
<A href="
http://www.makewing.com" target=_blank>深圳女工被三名男子轮奸男友目睹过程(组图)</A><BR>
<A href="
http://www.makewing.com" target=_blank>男子珍藏一角钱“币王”价格高达1.3万(图)</A><BR>
<A href="
http://www.makewing.com" target=_blank>青海女孩被困洗头房每天接客十几次(图)</A><BR>
<A href="
http://www.makewing.com" target=_blank>组图:老妻少夫演绎忘年恋69岁妻子成功除皱</A><BR>
<A href="
http://www.makewing.com" target=_blank>最高法:承诺不判赖昌星死刑没有超越法律程序</A><BR>
<A href="
http://www.makewing.com" target=_blank>深圳发现睾丸被摘男童尸体续:疑为1月前失踪</A><BR>
<div align="right"><A href="
http://www.makewing.com" target=_blank>...more</A></div>
</SPAN>
<SPAN>
<A href="
http://www.makewing.com" target=_blank>养路费征稽员强制扣车致三轮车夫惨死车轮下</A><BR>
<A href="
http://www.makewing.com" target=_blank>20多位学者谈中医问题 方舟子遭多名专家批驳</A><BR>
<A href="
http://www.makewing.com" target=_blank>考研女生自称揭露监考老师作弊 成绩被判零分</A><BR>
<div align="right"><A href="
http://www.makewing.com" target=_blank>...more</A></div>
</SPAN>
</DIV>
<SCRIPT>
var Tags=document.getElementById('NewsTop_tit').getElementsByTagName('p');
var TagsCnt=document.getElementById('NewsTop_cnt').getElementsByTagName('span');
var len=Tags.length;
var flag=1;//修改默认值
for(i=1;i<len;i++){
Tags[i].value = i;
Tags[i].onmouseover=function(){changeNav(this.value)};
TagsCnt[i].className='undis';
}
Tags[flag].className='topC1';
TagsCnt[flag].className='dis';
function changeNav(v){
Tags[flag].className='topC0';
TagsCnt[flag].className='undis';
flag=v;
Tags[v].className='topC1';
TagsCnt[v].className='dis';
}
</SCRIPT>
</DIV>
</DIV>
</BODY></HTML>