<P> </P>
<P> </P>
<P><div align=\"center\" id=\"myexample\" style=\"border:5px ridge red; width:650\"></P>
<P><h2><span id=\"fly\" style=\"color:7b007b\"></span></h2><BR><script><BR>window.onerror=new Function(\"return true\")</P>
<P>message =\'☆总有一个人,会让你心动总有一段往事,会让你感动,总有一个音符,能够触动你的神经,穿透你的内心,慰藉你的灵魂.当眼里漾起忘不掉的从前,我们流泪了…… 在心如锈铁的时代,还有没有一首歌,曾让你感动过? 记忆和我们成长,让我们一起看着它不朽……☆\';</P>
<P>distance = 50;<BR>speed = 500;<BR>if (!document.all)<BR>document.write(\'<h2>\'+message+\'</h2>\')</P>
<P></script></P>
<P><script language=\"JavaScript1.2\"></P>
<P>txt=\"\";num=0;num4=0;flyofle=\"\";flyofwi=\"\";flyofto=\"\"<BR>function stfly(){for(i=0;i != message.length;i++){if(message.charAt(i) != \"$\"){txt=txt+\"<span style=\'position:relative;visibility:hidden;\' id=\'n\"+i+\"\'>\"+message.charAt(i)+\"<\\/span>\"};else{txt=txt+\"<br>\"}};fly.innerHTML=txt;txt=\"\";flyofle=fly.offsetLeft;flyofwi=fly.offsetWidth;flyofto=fly.offsetTop;fly2b()}<BR>function fly2b(){if(num4 != message.length){if(message.charAt(num4) != \"$\"){eval(\"n\"+num4+\".style.left=flyofle-n\"+num4+\".offsetLeft+flyofwi/2\");eval(\"n\"+num4+\".style.top=flyofto-n\"+num4+\".offsetTop+distance\");eval(\"fly3(\'n\"+num4+\"\',eval(n\"+num4+\".style.left.substring(0,n\"+num4+\".style.left.length-2)),(eval(n\"+num4+\".style.left.substring(0,n\"+num4+\".style.left.length-2))/5),eval(n\"+num4+\".style.top.substring(0,n\"+num4+\".style.top.length-2)),(eval(n\"+num4+\".style.top.substring(0,n\"+num4+\".style.top.length-2))/5))\")};num4++;setTimeout(\"fly2b()\",speed)}}<BR>function fly3(target,lef2,num2,top2,num3){if((Math.floor(top2) != 0 && Math.floor(top2) != -1) || (Math.floor(lef2) != 0 && Math.floor(lef2) != -1)){if(eval(\"\'\"+lef2+\"\'\").charAt(0) != \'-\'){lef2=lef2-num2};else{lef2=lef2+(-num2)};if(Math.floor(lef2) != -1){eval(target+\".style.visibility=\'visible\';\"+target+\".style.left=Math.floor(lef2)\")};else{eval(target+\".style.visibility=\'visible\';\"+target+\".style.left=Math.floor(lef2+1)\")};if(eval(\"\'\"+lef2+\"\'\").charAt(0) != \'-\'){top2=top2-num3};else{top2=top2+(-num3)};if(Math.floor(top2) != -1){eval(target+\".style.top=Math.floor(top2)\")};else{eval(target+\".style.top=Math.floor(top2+1)\")};setTimeout(\"fly3(\'\"+target+\"\',\"+lef2+\",\"+num2+\",\"+top2+\",\"+num3+\")\",50)}};<BR>stfly()<BR></script></div><script language=\"JavaScript1.2\"><BR>function flashit(){<BR>if (!document.all)<BR>return<BR>if (myexample.style.borderColor==\"fuchsia\")<BR>myexample.style.borderColor=\"yellow\"<BR>else<BR>myexample.style.borderColor=\"fuchsia\"<BR>}<BR>setInterval(\"flashit()\", 1000)<BR></script></P>
回复 21# 的帖子
THANKSVERYMUCH~~ <div align=\"center\" id=\"myexample\" style=\"border:5px ridge red; width:650\"><h2><span id=\"fly\" style=\"color:7b007b\"></span></h2>
<script>
window.onerror=new Function(\"return true\")
message =\'☆总有一个人,会让你心动总有一段往事,会让你感动,总有一个音符,能够触动你的神经,穿透你的内心,慰藉你的灵魂.当眼里漾起忘不掉的从前,我们流泪了…… 在心如锈铁的时代,还有没有一首歌,曾让你感动过? 记忆和我们成长,让我们一起看着它不朽……☆\';
distance = 50;
speed = 500;
if (!document.all)
document.write(\'<h2>\'+message+\'</h2>\')
</script>
<script language=\"JavaScript1.2\">
txt=\"\";num=0;num4=0;flyofle=\"\";flyofwi=\"\";flyofto=\"\"
function stfly(){for(i=0;i != message.length;i++){if(message.charAt(i) != \"$\"){txt=txt+\"<span style=\'position:relative;visibility:hidden;\' id=\'n\"+i+\"\'>\"+message.charAt(i)+\"<\\/span>\"};else{txt=txt+\"<br>\"}};fly.innerHTML=txt;txt=\"\";flyofle=fly.offsetLeft;flyofwi=fly.offsetWidth;flyofto=fly.offsetTop;fly2b()}
function fly2b(){if(num4 != message.length){if(message.charAt(num4) != \"$\"){eval(\"n\"+num4+\".style.left=flyofle-n\"+num4+\".offsetLeft+flyofwi/2\");eval(\"n\"+num4+\".style.top=flyofto-n\"+num4+\".offsetTop+distance\");eval(\"fly3(\'n\"+num4+\"\',eval(n\"+num4+\".style.left.substring(0,n\"+num4+\".style.left.length-2)),(eval(n\"+num4+\".style.left.substring(0,n\"+num4+\".style.left.length-2))/5),eval(n\"+num4+\".style.top.substring(0,n\"+num4+\".style.top.length-2)),(eval(n\"+num4+\".style.top.substring(0,n\"+num4+\".style.top.length-2))/5))\")};num4++;setTimeout(\"fly2b()\",speed)}}
function fly3(target,lef2,num2,top2,num3){if((Math.floor(top2) != 0 && Math.floor(top2) != -1) || (Math.floor(lef2) != 0 && Math.floor(lef2) != -1)){if(eval(\"\'\"+lef2+\"\'\").charAt(0) != \'-\'){lef2=lef2-num2};else{lef2=lef2+(-num2)};if(Math.floor(lef2) != -1){eval(target+\".style.visibility=\'visible\';\"+target+\".style.left=Math.floor(lef2)\")};else{eval(target+\".style.visibility=\'visible\';\"+target+\".style.left=Math.floor(lef2+1)\")};if(eval(\"\'\"+lef2+\"\'\").charAt(0) != \'-\'){top2=top2-num3};else{top2=top2+(-num3)};if(Math.floor(top2) != -1){eval(target+\".style.top=Math.floor(top2)\")};else{eval(target+\".style.top=Math.floor(top2+1)\")};setTimeout(\"fly3(\'\"+target+\"\',\"+lef2+\",\"+num2+\",\"+top2+\",\"+num3+\")\",50)}};
stfly()
</script></div><script language=\"JavaScript1.2\">
function flashit(){
if (!document.all)
return
if (myexample.style.borderColor==\"fuchsia\")
myexample.style.borderColor=\"yellow\"
else
myexample.style.borderColor=\"fuchsia\"
}
setInterval(\"flashit()\", 1000)
</script> 为什么在有些地方,不能正常显示? 共享一下代码呀? <div align=\"center\" id=\"myexample\" style=\"border:5px ridge red; width:650\">
<h2><span id=\"fly\" style=\"color:7b007b\"></span></h2>
<script>
window.onerror=new Function(\"return true\")
message =\'☆总有一个人,会让你心动总有一段往事,会让你感动,总有一个音符,能够触动你的神经,穿透你的内心,慰藉你的灵魂.当眼里漾起忘不掉的从前,我们流泪了…… 在心如锈铁的时代,还有没有一首歌,曾让你感动过? 记忆和我们成长,让我们一起看着它不朽……☆\';
distance = 50;
speed = 500;
if (!document.all)
document.write(\'<h2>\'+message+\'</h2>\')
</script>
<script language=\"JavaScript1.2\">
txt=\"\";num=0;num4=0;flyofle=\"\";flyofwi=\"\";flyofto=\"\"
function stfly(){for(i=0;i != message.length;i++){if(message.charAt(i) != \"$\"){txt=txt+\"<span style=\'position:relative;visibility:hidden;\' id=\'n\"+i+\"\'>\"+message.charAt(i)+\"<\\/span>\"};else{txt=txt+\"<br>\"}};fly.innerHTML=txt;txt=\"\";flyofle=fly.offsetLeft;flyofwi=fly.offsetWidth;flyofto=fly.offsetTop;fly2b()}
function fly2b(){if(num4 != message.length){if(message.charAt(num4) != \"$\"){eval(\"n\"+num4+\".style.left=flyofle-n\"+num4+\".offsetLeft+flyofwi/2\");eval(\"n\"+num4+\".style.top=flyofto-n\"+num4+\".offsetTop+distance\");eval(\"fly3(\'n\"+num4+\"\',eval(n\"+num4+\".style.left.substring(0,n\"+num4+\".style.left.length-2)),(eval(n\"+num4+\".style.left.substring(0,n\"+num4+\".style.left.length-2))/5),eval(n\"+num4+\".style.top.substring(0,n\"+num4+\".style.top.length-2)),(eval(n\"+num4+\".style.top.substring(0,n\"+num4+\".style.top.length-2))/5))\")};num4++;setTimeout(\"fly2b()\",speed)}}
function fly3(target,lef2,num2,top2,num3){if((Math.floor(top2) != 0 && Math.floor(top2) != -1) || (Math.floor(lef2) != 0 && Math.floor(lef2) != -1)){if(eval(\"\'\"+lef2+\"\'\").charAt(0) != \'-\'){lef2=lef2-num2};else{lef2=lef2+(-num2)};if(Math.floor(lef2) != -1){eval(target+\".style.visibility=\'visible\';\"+target+\".style.left=Math.floor(lef2)\")};else{eval(target+\".style.visibility=\'visible\';\"+target+\".style.left=Math.floor(lef2+1)\")};if(eval(\"\'\"+lef2+\"\'\").charAt(0) != \'-\'){top2=top2-num3};else{top2=top2+(-num3)};if(Math.floor(top2) != -1){eval(target+\".style.top=Math.floor(top2)\")};else{eval(target+\".style.top=Math.floor(top2+1)\")};setTimeout(\"fly3(\'\"+target+\"\',\"+lef2+\",\"+num2+\",\"+top2+\",\"+num3+\")\",50)}};
stfly()
</script></div><script language=\"JavaScript1.2\">
function flashit(){
if (!document.all)
return
if (myexample.style.borderColor==\"fuchsia\")
myexample.style.borderColor=\"yellow\"
else
myexample.style.borderColor=\"fuchsia\"
}
setInterval(\"flashit()\", 1000)
</script> 不行!怎么回事? 代码放出来就好了