滚动新闻

    技术2022-05-11  36

    <style>a{font-size:18px}</style><body><script LANGUAGE='JavaScript'>var strArray1=new Array();strArray1[0]='<a href=http://hotspots.sina.com.cn target=_blank>无线上网无限生活</a><!--nwy/sina/A-->'strArray1[1]='<a href=http://sms.sina.com.cn/docs/c/100204.html target=_blank>每日笑话非常享受</a><!--nwy/sina/A-->'strArray1[2]='<a href=http://yp.sina.net/newslist3000-1.html target=_blank>商家急寻合资合作</a><!--nwy/sina/A-->'showId=Math.floor(Math.random()*3);tempStr=strArray1[showId];strArray1[showId]=strArray1[0];strArray1[0]=tempStr;</script><script>document.write('<table width=100% border=0 cellspacing=0 cellpadding=0>'+'<tr><td width=100% align=left >'+'<div id="icefable11" style="width:101;">'+'<table width=101 border=0 cellspacing=0 cellpadding=0>'+'<tr><td width=101 height=15 >'+strArray1[0]+'</td></tr>'+'<tr><td height=15 >'+strArray1[1]+'</td></tr>'+'<tr><td height=15 >'+strArray1[2]+'</td></tr>'+'</td></tr>'+'</table>'+'</div>'+'</td></tr>'+'</table>');marqueesHeight1=21;stopscroll1=false;icefable11.scrollTop=0;with(icefable11){style.width=0;style.height=marqueesHeight1;style.overflowX="visible";style.overflowY="hidden";noWrap=true;οnmοuseοver=new Function("stopscroll1=true");οnmοuseοut=new Function("stopscroll1=false");}preTop1=0; currentTop1=21; stoptime1=0;icefable11.innerHTML+=icefable11.innerHTML;function init_srolltext1(){icefable11.scrollTop=0;setInterval("scrollUp1()",50);}init_srolltext1();function scrollUp1(){if(stopscroll1==true) return;currentTop1+=1;if(currentTop1==22){ stoptime1+=1; currentTop1-=1; if(stoptime1==40)  { currentTop1=0; stoptime1=0; }}else {  preTop1=icefable11.scrollTop; icefable11.scrollTop+=1; if(preTop1==icefable11.scrollTop){ icefable11.scrollTop=30; icefable11.scrollTop+=1; }}}</script></body>  

    最新回复(0)