haohanyu 发表于 2008-4-12 02:58

俺来学习了。

碎影舞斜阳 发表于 2008-4-22 13:52

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


打字代码

侏罗纪笨蛋 发表于 2008-4-22 13:54

<DIV id=myexample style=\"BORDER-RIGHT: red 5px ridge; BORDER-TOP: red 5px ridge; BORDER-LEFT: red 5px ridge; WIDTH: 650px; BORDER-BOTTOM: red 5px ridge\" align=center>
<H2><SPAN id=fly style=\"COLOR: #7b007b\"></SPAN></H2></DIV>
<P> </P>
<P> </P>
<P>- -!<BR>试了几次了。。</P>
<P>咋打出来的都是这玩意?!~</P>

[ 本帖最后由 侏罗纪笨蛋 于 2008-4-22 13:55 编辑 ]

esdesd 发表于 2008-4-23 13:04

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

[ 本帖最后由 esdesd 于 2008-4-23 13:05 编辑 ]

夏愈 发表于 2008-4-23 22:16

1

<DIV class=postinfo><STRONG id=postnum_19174 title=复制帖子链接到剪贴板 onclick=\"setcopy(\'http://www.yinhuabbs.cn/viewthread.php?tid=3311&amp;page=1&amp;fromuid=5443#pid19174\', \'帖子链接已经复制到剪贴板\')\">1<SUP>#</SUP></STRONG> <EM onclick=\"$(\'postmessage_19174\').className=\'t_bigfont\'\">大</EM> <EM onclick=\"$(\'postmessage_19174\').className=\'t_msgfont\'\">中</EM> <EM onclick=\"$(\'postmessage_19174\').className=\'t_smallfont\'\">小</EM> 发表于 2008-2-5 22:39<A href=\"http://www.yinhuabbs.cn/viewthread.php?tid=3311&amp;page=1&amp;authorid=1231\">只看该作者</A> </DIV>
<DIV id=ad_thread2_0></DIV>
<DIV class=\"postmessage defaultpost\">
<DIV id=ad_thread3_0></DIV>
<DIV id=ad_thread4_0></DIV>
<H2>打字代码</H2>
<DIV class=t_msgfont id=postmessage_19174>
<DIV id=myexample style=\"BORDER-RIGHT: yellow 5px ridge; BORDER-TOP: yellow 5px ridge; BORDER-LEFT: yellow 5px ridge; BORDER-BOTTOM: yellow 5px ridge\" align=center>
<H2><SPAN id=fly><SPAN id=n0 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">☆</SPAN><SPAN id=n1 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">总</SPAN><SPAN id=n2 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">有</SPAN><SPAN id=n3 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">一</SPAN><SPAN id=n4 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">个</SPAN><SPAN id=n5 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">人</SPAN><SPAN id=n6 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">,</SPAN><SPAN id=n7 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">会</SPAN><SPAN id=n8 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">让</SPAN><SPAN id=n9 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">你</SPAN><SPAN id=n10 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">心</SPAN><SPAN id=n11 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">动</SPAN><SPAN id=n12 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">总</SPAN><SPAN id=n13 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">有</SPAN><SPAN id=n14 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">一</SPAN><SPAN id=n15 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">段</SPAN><SPAN id=n16 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">往</SPAN><SPAN id=n17 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">事</SPAN><SPAN id=n18 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">,</SPAN><SPAN id=n19 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">会</SPAN><SPAN id=n20 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">让</SPAN><SPAN id=n21 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">你</SPAN><SPAN id=n22 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">感</SPAN><SPAN id=n23 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">动</SPAN><SPAN id=n24 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">,</SPAN><SPAN id=n25 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">总</SPAN><SPAN id=n26 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">有</SPAN><SPAN id=n27 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">一</SPAN><SPAN id=n28 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">个</SPAN><SPAN id=n29 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">音</SPAN><SPAN id=n30 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">符</SPAN><SPAN id=n31 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">,</SPAN><SPAN id=n32 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">能</SPAN><SPAN id=n33 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">够</SPAN><SPAN id=n34 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">触</SPAN><SPAN id=n35 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">动</SPAN><SPAN id=n36 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">你</SPAN><SPAN id=n37 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">的</SPAN><SPAN id=n38 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">神</SPAN><SPAN id=n39 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">经</SPAN><SPAN id=n40 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">,</SPAN><SPAN id=n41 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">穿</SPAN><SPAN id=n42 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">透</SPAN><SPAN id=n43 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">你</SPAN><SPAN id=n44 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">的</SPAN><SPAN id=n45 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">内</SPAN><SPAN id=n46 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">心</SPAN><SPAN id=n47 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">,</SPAN><SPAN id=n48 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">慰</SPAN><SPAN id=n49 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">藉</SPAN><SPAN id=n50 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">你</SPAN><SPAN id=n51 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">的</SPAN><SPAN id=n52 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">灵</SPAN><SPAN id=n53 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">魂</SPAN><SPAN id=n54 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">.</SPAN><SPAN id=n55 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">当</SPAN><SPAN id=n56 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">眼</SPAN><SPAN id=n57 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">里</SPAN><SPAN id=n58 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">漾</SPAN><SPAN id=n59 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">起</SPAN><SPAN id=n60 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">忘</SPAN><SPAN id=n61 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">不</SPAN><SPAN id=n62 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">掉</SPAN><SPAN id=n63 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">的</SPAN><SPAN id=n64 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">从</SPAN><SPAN id=n65 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">前</SPAN><SPAN id=n66 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">,</SPAN><SPAN id=n67 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">我</SPAN><SPAN id=n68 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">们</SPAN><SPAN id=n69 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">流</SPAN><SPAN id=n70 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">泪</SPAN><SPAN id=n71 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">了</SPAN><SPAN id=n72 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">…</SPAN><SPAN id=n73 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">…</SPAN><SPAN id=n74 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\"> </SPAN><SPAN id=n75 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">在</SPAN><SPAN id=n76 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">心</SPAN><SPAN id=n77 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">如</SPAN><SPAN id=n78 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">锈</SPAN><SPAN id=n79 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">铁</SPAN><SPAN id=n80 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">的</SPAN><SPAN id=n81 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">时</SPAN><SPAN id=n82 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">代</SPAN><SPAN id=n83 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">,</SPAN><SPAN id=n84 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">还</SPAN><SPAN id=n85 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">有</SPAN><SPAN id=n86 style=\"LEFT: 0px; VISIBILITY: visible; POSITION: relative; TOP: 0px\">没</SPAN><SPAN id=n87 style=\"LEFT: -519px; VISIBILITY: visible; POSITION: relative; TOP: -253px\">有</SPAN><SPAN id=n88 style=\"VISIBILITY: hidden; POSITION: relative\">一</SPAN><SPAN id=n89 style=\"VISIBILITY: hidden; POSITION: relative\">首</SPAN><SPAN id=n90 style=\"VISIBILITY: hidden; POSITION: relative\">歌</SPAN><SPAN id=n91 style=\"VISIBILITY: hidden; POSITION: relative\">,</SPAN><SPAN id=n92 style=\"VISIBILITY: hidden; POSITION: relative\">曾</SPAN><SPAN id=n93 style=\"VISIBILITY: hidden; POSITION: relative\">让</SPAN><SPAN id=n94 style=\"VISIBILITY: hidden; POSITION: relative\">你</SPAN><SPAN id=n95 style=\"VISIBILITY: hidden; POSITION: relative\">感</SPAN><SPAN id=n96 style=\"VISIBILITY: hidden; POSITION: relative\">动</SPAN><SPAN id=n97 style=\"VISIBILITY: hidden; POSITION: relative\">过</SPAN><SPAN id=n98 style=\"VISIBILITY: hidden; POSITION: relative\">?</SPAN><SPAN id=n99 style=\"VISIBILITY: hidden; POSITION: relative\"> </SPAN><SPAN id=n100 style=\"VISIBILITY: hidden; POSITION: relative\">记</SPAN><SPAN id=n101 style=\"VISIBILITY: hidden; POSITION: relative\">忆</SPAN><SPAN id=n102 style=\"VISIBILITY: hidden; POSITION: relative\">和</SPAN><SPAN id=n103 style=\"VISIBILITY: hidden; POSITION: relative\">我</SPAN><SPAN id=n104 style=\"VISIBILITY: hidden; POSITION: relative\">们</SPAN><SPAN id=n105 style=\"VISIBILITY: hidden; POSITION: relative\">成</SPAN><SPAN id=n106 style=\"VISIBILITY: hidden; POSITION: relative\">长</SPAN><SPAN id=n107 style=\"VISIBILITY: hidden; POSITION: relative\">,</SPAN><SPAN id=n108 style=\"VISIBILITY: hidden; POSITION: relative\">让</SPAN><SPAN id=n109 style=\"VISIBILITY: hidden; POSITION: relative\">我</SPAN><SPAN id=n110 style=\"VISIBILITY: hidden; POSITION: relative\">们</SPAN><SPAN id=n111 style=\"VISIBILITY: hidden; POSITION: relative\">一</SPAN><SPAN id=n112 style=\"VISIBILITY: hidden; POSITION: relative\">起</SPAN><SPAN id=n113 style=\"VISIBILITY: hidden; POSITION: relative\">看</SPAN><SPAN id=n114 style=\"VISIBILITY: hidden; POSITION: relative\">着</SPAN><SPAN id=n115 style=\"VISIBILITY: hidden; POSITION: relative\">它</SPAN><SPAN id=n116 style=\"VISIBILITY: hidden; POSITION: relative\">不</SPAN><SPAN id=n117 style=\"VISIBILITY: hidden; POSITION: relative\">朽</SPAN><SPAN id=n118 style=\"VISIBILITY: hidden; POSITION: relative\">…</SPAN><SPAN id=n119 style=\"VISIBILITY: hidden; POSITION: relative\">…</SPAN><SPAN id=n120 style=\"VISIBILITY: hidden; POSITION: relative\">☆</SPAN></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>

[ 本帖最后由 夏愈 于 2008-4-23 22:28 编辑 ]

xiangyeqi 发表于 2008-4-24 20:28

谢谢老师,用上了!~~~~`

藤条弯弯 发表于 2008-4-25 13:06

<DIV id=myexample style=\"BORDER-RIGHT: red 5px ridge; BORDER-TOP: red 5px ridge; BORDER-LEFT: red 5px ridge; WIDTH: 650px; BORDER-BOTTOM: red 5px ridge\" align=center>
<H2><SPAN id=fly style=\"COLOR: #7b007b\">转动</SPAN></H2>
<H2><SPAN style=\"COLOR: #7b007b\">四叶草</SPAN></H2>
<H2><SPAN style=\"COLOR: #7b007b\">许下愿望</SPAN></H2>
<H2><SPAN style=\"COLOR: #7b007b\">。。。</SPAN></H2>
<H2><SPAN style=\"COLOR: #7b007b\">为什么</SPAN></H2>
<H2><SPAN style=\"COLOR: #7b007b\">不动</SPAN></H2>
<H2><SPAN style=\"COLOR: #7b007b\">都试了N次</SPAN></H2>
<H2><SPAN style=\"COLOR: #7b007b\">哪里做错了</SPAN></H2>
<H2><SPAN style=\"COLOR: #7b007b\">。。。</SPAN></H2></DIV>

[ 本帖最后由 藤条弯弯 于 2008-4-25 13:10 编辑 ]

风儿 发表于 2008-4-27 10:55

不试怎么行?晕了,

[ 本帖最后由 风儿 于 2008-4-27 10:57 编辑 ]

lrctz 发表于 2008-4-29 02:06

谢谢!

diexuetian 发表于 2008-4-29 14:00

<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>
页: 1 2 [3] 4 5 6 7 8 9
查看完整版本: 打字代码