打印本文 打印本文  关闭窗口 关闭窗口  
上下跳跃的大字
作者:不详  文章来源:不详  点击数  更新时间:2003/8/26 20:16:31  文章录入:ahui  责任编辑:ahui

<script LANGUAGE="JavaScript">
<!--
done = 0;
step = 8
function anim(yp,yk)
{
 if(document.layers) document.layers["napis"].top=yp;
 else  document.all["napis"].style.top=yp;

 if(yp>yk) step = -7
 if(yp<60) step = 7
 setTimeout('anim('+(yp+step)+','+yk+')', 35);
}
function start()
{
 if(done) return
 done = 1;

 if(navigator.appName=="Netscape") {
  document.napis.left=innerWidth/2 - 145;
  anim(60,innerHeight - 60)
 }
 else {
  napis.style.left=11;
  anim(60,document.body.offsetHeight - 60)
 }

}

//-->
</script>
<div id="napis"
style="position: absolute; top: -50; color: #D23842; font-family: Arial, Helvetica; font-weight:bold; font-size:40px;">
<p>真 命 天 子 ~ 的 最 愛         愛 誰 誰 ~ WO 的 最 愛</p></div><script LANGUAGE="JavaScript">setTimeout('start()',10);</script>

打印本文 打印本文  关闭窗口 关闭窗口