心境
本帖最后由 逸轩 于 2015-6-7 13:56 编辑 <br /><br /><table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_829087"><div align="center" id="myexample" style="border:5px ridge red; width:650; height:500">
<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></td></tr></table>
<embed height="0" width="0" invokeurls="false" src="http://www.xiami.com/widget/32856702_1770557387,1770557380,55384,1773215006,1770557388,3515758,1773215005,1773215008,55366,55372,55389,55377,_750_350_000000_000000_1/multiPlayer.swf" type="application/x-shockwave-flash" wmode="transparent" style="z-index: 0;">
页:
[1]