玉镯儿 发表于 2008-12-28 22:13

麒麟庄 发表于 2009-1-3 17:43

<div id=\"ad_thread3_0\"></div><div id=\"ad_thread4_0\"></div>
                                                                                                        <h2>打字效果</h2>
                                               
                                               
                                                                                                                                                                                                                        <div id=\"postmessage_202312\" class=\"t_msgfont\"><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>

网海拾贝 发表于 2009-1-8 01:47

<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>

闲窗听雨 发表于 2009-1-14 17:16

<div id=\"postmessage_202312\" class=\"t_msgfont\"><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>

                                                       
                                                       
                                                       
                                                                                                        </div>

[ 本帖最后由 闲窗听雨 于 2009-1-14 17:17 编辑 ]

倚门看花开 发表于 2009-1-15 16:52

教教我们呀

居士 发表于 2009-1-16 23:38

教教我

cc蒋 发表于 2009-1-28 23:02

没下文了啊
怎么做啊
想学

nrm258 发表于 2009-2-1 02:38

<div id=\"postmessage_202312\" class=\"t_msgfont\"><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>

ssophia 发表于 2009-8-13 11:43

想学噢!楼主教教噢!

白露河 发表于 2009-8-13 14:25

,怎么做的呢
页: 1 [2] 3
查看完整版本: 打字效果