重生成神灵最强教皇:求一段码
来源:百度文库 编辑:高校问答 时间:2024/08/31 18:40:35
类似公告板一样的效果
<SCRIPT language=JavaScript>
var totalRolling = 30;
var strArray=new Array();
strArray[0] = '<a class="a02" href="http://qun.anyp.cn" target="_blank">全新
博客群服务已经开通,加入博客群,享受更多乐趣</a>';
strArray[1] = '<a class="a02" href="http://bbs.anyp.cn/"
target="_blank"><font color=blue>***全新博易聊吧正式上线!***</font></a>';
strArray[2] = '<a class="a02" href="http://pp.anyp.cn" target="_blank">下载PP
播客,轻松开设个人电视台</a>';
strArray[3] = '<a class="a02" href="http://bbs.anyp.cn/6354-91365.aspx"
target="_blank"><font color=red>*****博易隆重推出统一积分系统!要你好玩!
*****</font></a>';
strArray[4] = '<a class="a02"
href="http://client.alexa.com/install/AlexaInstaller.exe" target="_blank">下
载并安装工具条即可屏蔽弹出窗口广告,加快浏览速度</a>';
// by Jeff 2006-4-13
strArray[5] = '<a class="a02" href="http://mrwang2008.anyp.cn"
target="_blank">推荐网站-4期:王老师英语工作室</a> <a
class="a02" href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情
</a>';
strArray[6] = '<a class="a02" href="http://wj5678.anyp.cn" target="_blank">推
荐网站-4期:『成功梦工厂』</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[7] = '<a class="a02" href="http://wlkejack520.anyp.cn"
target="_blank">推荐网站-4期:LOVE——TWINS</a> <a
class="a02" href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情
</a>';
strArray[8] = '<a class="a02" href="http://j886.anyp.cn" target="_blank">推荐
网站-4期:陈长钧小乐园</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[9] = '<a class="a02" href="http://yeeyoo.anyp.cn" target="_blank">推
荐网站-4期:QQ空间代码站</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[10] = '<a class="a02" href="http://xiaoyangge.anyp.cn"
target="_blank">推荐网站-4期:白杨树</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[11] = '<a class="a02" href="http://ting163.anyp.cn" target="_blank">
推荐网站-4期:e网情深</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[12] = '<a class="a02" href="http://huangtao469.anyp.cn"
target="_blank">推荐网站-4期:BāЬy青春飞扬</a> <a
class="a02" href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情
</a>';
strArray[13] = '<a class="a02" href="http://173258660.anyp.cn"
target="_blank">推荐网站-4期:海风di带</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[14] = '<a class="a02" href="http://3344520wl.anyp.cn"
target="_blank">推荐网站-4期:爱的小屋</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[15] = '<a class="a02" href="http://guokai821.anyp.cn"
target="_blank">推荐网站-4期:对不起,我爱你</a> <a
class="a02" href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情
</a>';
strArray[16] = '<a class="a02" href="http://1290572.anyp.cn/blog"
target="_blank">推荐网站-4期:月狼阁</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[17] = '<a class="a02" href="http://glacier0214.anyp.cn/blog"
target="_blank">推荐网站-4期:正在恋爱中....</a> <a
class="a02" href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情
</a>';
strArray[18] = '<a class="a02" href="http://wenziyan.anyp.cn"
target="_blank">推荐网站-4期:紫嫣在线</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[19] = '<a class="a02" href="http://xixihehe.anyp.cn"
target="_blank">推荐网站-4期:秘密花园</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[20] = '<a class="a02" href="http://1603533.anyp.cn/"
target="_blank">推荐网站-4期:竹子香坊</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[21] = '<a class="a02" href="http://loveyoujy.anyp.cn"
target="_blank">推荐网站-4期:网络情缘网</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[22] = '<a class="a02" href="http://film9.anyp.cn" target="_blank">推
荐网站-4期:丽丽在线</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[23] = '<a class="a02" href="http://zyq856.anyp.cn" target="_blank">
推荐网站-4期:行行摄摄</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[24] = '<a class="a02" href="http://badguys.anyp.cn/blog"
target="_blank">推荐网站-4期:badguy‘s sky </a> <a
class="a02" href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情
</a>';
strArray[25] = '<a class="a02" href="http://zzxgame.anyp.cn/blog"
target="_blank">推荐网站-4期:自在轩</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[26] = '<a class="a02" href="http://wormxx.anyp.cn/blog"
target="_blank">推荐网站-4期:海边的ωǒ</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[27] = '<a class="a02" href="http://qhqh.anyp.cn/mini"
target="_blank">推荐网站-4期:渐离在线</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[28] = '<a class="a02" href="http://zose.anyp.cn/" target="_blank">推
荐网站-4期:花儿娱乐吧</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[29] = '<a class="a02" href="http://xsgwjp.anyp.cn" target="_blank">
推荐网站-4期:网络无际线</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
strArray[30] = '<a class="a02" href="http://51mini.anyp.cn" target="_blank">
推荐网站-4期:准成功者之家</a> <a class="a02"
href="http://bbs.anyp.cn/6346-110369.aspx" target="_blank">详情</a>';
showId=Math.floor(Math.random()*totalRolling);
tempStr=strArray[showId];
strArray[showId]=strArray[0];
strArray[0]=tempStr;
</SCRIPT>
<SCRIPT>
document.write('<table width=100% border=0 cellspacing=0 cellpadding=0>'
+'<tr><td>'
+'<div id="icefable1" style="width:460;">'
+'<table width=460 border=0 cellspacing=0 cellpadding=0>');
for(i=0;i<strArray.length;i++)
{
document.write('<tr><td> '+strArray[i]+'</td></tr>');
}
document.write('</table>'
+'</div>'
+'</td></tr>'
+'</table>');
marqueesHeight=96;
stopscroll=false;
icefable1.scrollTop=0;
with(icefable1){
style.width=0;
style.height=marqueesHeight;
style.overflowX="visible";
style.overflowY="hidden";
noWrap=true;
onmouseover=new Function("stopscroll=true");
onmouseout=new Function("stopscroll=false");
}
preTop=0; currentTop=marqueesHeight; stoptime=0;
icefable1.innerHTML+=icefable1.innerHTML;
function init_srolltext(){
icefable1.scrollTop=0;
setInterval("scrollUp()",40);
}init_srolltext();
function scrollUp(){
if(stopscroll==true) return;
currentTop+=1;
if(currentTop==marqueesHeight+1)
{
stoptime+=1;
currentTop-=1;
if(stoptime==40)
{
currentTop=0;
stoptime=0;
}
}
else {
preTop=icefable1.scrollTop;
icefable1.scrollTop+=1;
if(preTop==icefable1.scrollTop){
icefable1.scrollTop=marqueesHeight*(totalRolling-1);
icefable1.scrollTop+=1;
}
}
}
</SCRIPT>
以前看到过一段这样的代码,不过没注意看,还是请高手出招吧
<script>
<!--
function Helpor_net(seed)
{ var m1 = "你要显示的文字," ;
var m2 = "" ;
var msg=m1+m2;
var out = " ";
var c = 1;
var speed = 120;
if (seed > 100)
{ seed-=2;
var cmd="Helpor_net(" + seed + ")";
timerTwo=window.setTimeout(cmd,speed);}
else if (seed <= 100 && seed > 0)
{ for (c=0 ; c < seed ; c++)
{ out+=" ";}
out+=msg; seed-=2;
var cmd="Helpor_net(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,speed); }
else if (seed <= 0)
{ if (-seed < msg.length)
{
out+=msg.substring(-seed,msg.length);
seed-=2;
var cmd="Helpor_net(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,speed);}
else { window.status=" ";
timerTwo=window.setTimeout("Helpor_net(100)",speed);
}
}
}
Helpor_net(100);
-->
</script>