问题描述
我也在屏幕下方做走字最好是数量不限然后走完了会自动重复头接这尾巴的这种该怎么做呀...
解决方案
解决方案二:
<marquee>helloworld!</marquee>
解决方案三:
有这种程序下载吧,,歌词走字程序,,,
解决方案四:
有谁能告诉我自己怎么编的吗...
解决方案五:
<body><divstyle="width:543px;height:21px;overflow:hidden"onMouseOver="stop()"onMouseOut="start()"><tablewidth="543"border="0"cellspacing="0"cellpadding="0"id="scrollimg"height="21"><tr><tdid="simg"><TABLEwidth="543"border="0"cellspacing="0"cellpadding="0"height="21"><tr><td><ahref="index.htm">不间断文字滚动</a></td></tr></TABLE></td><tdid="simg1"></td></tr></table></div><SCRIPTLANGUAGE="JavaScript">vartm=nullfunctionnewsScroll(){if(scrollimg.parentNode.scrollLeft!=(scrollimg.clientWidth/2))scrollimg.parentNode.scrollLeft++;elsescrollimg.parentNode.scrollLeft=0}window.onload=function(){simg1.innerHTML=simg.innerHTMLtm=setInterval('newsScroll()',20)}functionstop(){clearInterval(tm)}functionstart(){tm=setInterval('newsScroll()',20)}</SCRIPT></body>
解决方案六:
沾到html文件里就可以直接用
解决方案七:
<divwidth="300"border="0"align="center"cellpadding="0"cellspacing="0"><divid="marquees"><divstyle="border-top-width:0px;border-left-width:0px;border-bottom-width:0px;border-collapse:collapse;border-right-width:0px">阿斯顿发生大发</div></div></div><scriptlanguage="JavaScript">marqueesHeight=130;stopscroll=false;with(marquees){style.width=0;style.height=marqueesHeight;style.overflowX="visible";style.overflowY="hidden";noWrap=true;onmouseover=newFunction("stopscroll=true");onmouseout=newFunction("stopscroll=false");}document.write('<divid="templayer"style="position:absolute;z-index:1;visibility:hidden"></div>');preTop=0;currentTop=0;functioninit(){templayer.innerHTML="";while(templayer.offsetHeight<marqueesHeight){templayer.innerHTML+=marquees.innerHTML;}marquees.innerHTML=templayer.innerHTML+templayer.innerHTML;setInterval("scrollUp()",30);}document.body.onload=init;functionscrollUp(){if(stopscroll==true)return;preTop=marquees.scrollTop;marquees.scrollTop+=1;if(preTop==marquees.scrollTop){marquees.scrollTop=templayer.offsetHeight-marqueesHeight;marquees.scrollTop+=1;}}</script>
解决方案八:
额,忘记说了,我是用winform编的...应该怎么写呀...