<div id="div1" style="width:884px;height:187px;overflow:hidden">
<img src=http://zi.csdn.net/beijing-nightclass221x187.JPG>
<img src=http://zi.csdn.net/intel-zq221_187.jpg>
<img src=http://zi.csdn.net/microsoft221_187.jpg>
<img src=http://www.csdn.net/adv/homepage/20060429_Martin.gif>
</div> <script>
var t=setInterval(myfunc,1000)
var d=document.getElementById("div1")
function myfunc(){
var o=d.firstChild
d.removeChild(o)
d.appendChild(o)
}
d.onmouseover=function(){clearInterval(t)}
d.onmouseout=function(){t=setInterval(myfunc,500)}
</script>
<img src=http://zi.csdn.net/beijing-nightclass221x187.JPG>
<img src=http://zi.csdn.net/intel-zq221_187.jpg>
<img src=http://zi.csdn.net/microsoft221_187.jpg>
<img src=http://www.csdn.net/adv/homepage/20060429_Martin.gif>
</div> <script>
var t=setInterval(myfunc,1000)
var d=document.getElementById("div1")
function myfunc(){
var o=d.firstChild
d.removeChild(o)
d.appendChild(o)
}
d.onmouseover=function(){clearInterval(t)}
d.onmouseout=function(){t=setInterval(myfunc,500)}
</script>
<!-- saved from url=(0011)about:blank -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<SCRIPT language=JavaScript1.2>
//configure the below five variables to change the style of the scroller
var scrollerwidthn=217
var scrollerheightn=92
var scrollerbgcolorn=''
//set below to '' if you don't wish to use a background image
var scrollerbackgroundn=''
var text_1="<table width=217 border=0 cellspacing=0 cellpadding=0><tr><td height=23 > ";
var text_2="</a></td></tr></table>";//configure the below variable to change the contents of the scroller
var slink=new Array()
var messagesn=new Array()
var counti=0
slink[counti]=text_1+"<a href=news/detail.asp?id=236 >测试一"+text_2;counti++
slink[counti]=text_1+"<a href=news/detail.asp?id=187 >测试二"+text_2;counti++
slink[counti]=text_1+"<a href=news/detail.asp?id=227 >测试三"+text_2;counti++
slink[counti]=text_1+"<a href=news/detail.asp?id=219>测试四"+text_2;counti++
slink[counti]=text_1+"<a href=news/detail.asp?id=219 >测试五"+text_2;counti++for (ii=0;ii<slink.length;ii++){
if(ii==(slink.length-1))ii_2=0;
else ii_2=ii+1;
if(ii==(slink.length-2))ii_3=0;
else if(ii==(slink.length-1))ii_3=1;
else ii_3=ii+2;
if(ii==(slink.length-3))ii_4=0;
else if(ii==(slink.length-2))ii_4=1;
else ii_4=ii+3;
messagesn[ii]=slink[ii]+slink[ii_2]+slink[ii_3]+slink[ii_4]
}if (messagesn.length>=0)
iii=2
else
iii=0function moven1(whichlayer){
tlayern=eval(whichlayer)
if (tlayern.top>0&&tlayern.top<=5){
tlayern.top=0
setTimeout("moven1(tlayern)",5000)
setTimeout("moven2(document.mainn.document.secondn)",5000)
return
}
if (tlayern.top>=tlayern.document.height*-1){
tlayern.top-=5
setTimeout("moven1(tlayern)",10)
}
else{
tlayern.top=scrollerheightn
tlayern.document.write(messagesn[iii])
tlayern.document.close()
if (iii==messagesn.length-1)
iii=0
else
iii++
}
}function moven2(whichlayer){
tlayern2=eval(whichlayer)
if (tlayern2.top>0&&tlayern2.top<=5){
tlayern2.top=0
setTimeout("moven2(tlayern2)",5000)
setTimeout("moven1(document.mainn.document.firstn)",5000)
return
}
if (tlayern2.top>=tlayern2.document.height*-1){
tlayern2.top-=5
setTimeout("moven2(tlayern2)",10)
}
else{
tlayern2.top=scrollerheightn
tlayern2.document.write(messagesn[iii])
tlayern2.document.close()
if (iii==messagesn.length-1)
iii=0
else
i++
}
}function moven3(whichdiv){
tdivn=eval(whichdiv)
if (tdivn.style.pixelTop>0&&tdivn.style.pixelTop<=5){
tdivn.style.pixelTop=0
setTimeout("moven3(tdivn)",5000)
setTimeout("moven4(secondn2)",5000)
return
}
if (tdivn.style.pixelTop>=tdivn.offsetHeight*-1){
tdivn.style.pixelTop-=5
setTimeout("moven3(tdivn)",10)
}
else{
tdivn.style.pixelTop=scrollerheightn
tdivn.innerHTML=messagesn[iii]
if (iii==messagesn.length-1)
iii=0
else
iii++
}
}function moven4(whichdiv){
tdivn2=eval(whichdiv)
if (tdivn2.style.pixelTop>0&&tdivn2.style.pixelTop<=5){
tdivn2.style.pixelTop=0
setTimeout("moven4(tdivn2)",5000)
setTimeout("moven3(firstn2)",5000)
return
}
if (tdivn2.style.pixelTop>=tdivn2.offsetHeight*-1){
tdivn2.style.pixelTop-=5
setTimeout("moven4(secondn2)",10)
}
else{
tdivn2.style.pixelTop=scrollerheightn
tdivn2.innerHTML=messagesn[iii]
if (iii==messagesn.length-1)
iii=0
else
iii++
}
}function startscrolln(){
if (document.all){
moven3(firstn2)
secondn2.style.top=scrollerheightn
secondn2.style.visibility='visible'
}
else if (document.layers){
document.mainn.visibility='show'
moven1(document.mainn.document.firstn)
document.mainn.document.secondn.top=scrollerheightn+5
document.mainn.document.secondn.visibility='show'
}
}
</SCRIPT><SCRIPT language=JavaScript1.2>
if (document.all){
document.writeln('<span id="mainn2" style="position:relative; width:'+scrollerwidthn+'; height:'+scrollerheightn+'; overflow:hiden; background-color:'+scrollerbgcolorn+'; background-image:url('+scrollerbackgroundn+')">')
document.writeln('<div style="position:absolute; width:'+scrollerwidthn+'; height:'+scrollerheightn+'; clip:rect(0 '+scrollerwidthn+' '+scrollerheightn+' 0); left:0; top:0">')
document.writeln('<div id="firstn2" style="position:absolute; width:'+scrollerwidthn+'; left:0; top:1;">')
document.write(messagesn[0])
document.writeln('</div>')
document.writeln('<div id="secondn2" style="position:absolute; width:'+scrollerwidthn+'; left:0; top:0; visibility:hidden">')
document.write(messagesn[1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</span>')
}
startscrolln()
</SCRIPT>
</BODY></HTML>