藤条弯弯 发表于 2008-4-11 19:21

谢谢祝福老师

[ 本帖最后由 祝福 于 2008-4-11 20:14 编辑 ]

藤条弯弯 发表于 2008-4-11 19:24

<script Language=\"JavaScript\">
<!--
if(navigator.appVersion.charAt(0)>=4 && (navigator.appVersion).indexOf(\"MSIE\")!=-1) isIE4 = true;
else isIE4 = false;
function textAnima_color2(id,n) {
el = document.all.item(id,n);
charColor = el.getAttribute(\"SET_COLOR\");
cur = el.getAttribute(\"CURRENT_CHAR\");
if(cur==\"\") cur = 0;
getHTML= el.getAttribute(\"SET_TEXT\");
if(getHTML == \"\") {
getHTML = el.innerText;
el.setAttribute(\"SET_TEXT\",getHTML);
}
bef_t = getHTML.substring(0,cur); ;
aft_t = getHTML.substring(eval(cur)+1,getHTML.length);
cur_t = getHTML.substr(cur,1);
cur_t = cur_t.fontcolor(charColor);
el.innerHTML = bef_t + cur_t + aft_t;
cur++;
if(cur > getHTML.length) cur=0;
el.setAttribute(\"CURRENT_CHAR\",cur);
getT = el.getAttribute(\"SET_TIME\");
if(getT==\"\") getT = 100;
setTimeout(\"textAnima_color2(\'\"+id+\"\',\"+n+\")\",eval(getT));
}
if(isIE4) {
window.onload = init;
}

function init() {
id = \"ANIMA_TEXT_COLOR2\";
len = document.all.item(id).length;
if(!len) len=1;
for(var i=0;i<len;i++) {
textAnima_color2(id,i);
}
}
//-->
</script>
<span style=\"font-size:12pt;font-family:\"新細明體\"\"
id=\"ANIMA_TEXT_COLOR2\" SET_COLOR=\"yellow\"
SET_TIME=\"100\" CURRENT_CHAR SET_TEXT> 应该可以的 </span>
</p>

[ 本帖最后由 祝福 于 2008-4-11 20:17 编辑 ]

风月千鹤 发表于 2008-6-6 12:21

<script Language=\"JavaScript\"> <!-- if(navigator.appVersion.charAt(0)>=4 && (navigator.appVersion).indexOf(\"MSIE\")!=-1) isIE4 = true; else isIE4 = false; function textAnima_color2(id,n) { el = document.all.item(id,n); charColor = el.getAttribute(\"SET_COLOR\"); cur = el.getAttribute(\"CURRENT_CHAR\"); if(cur==\"\") cur = 0; getHTML= el.getAttribute(\"SET_TEXT\"); if(getHTML == \"\") { getHTML = el.innerText; el.setAttribute(\"SET_TEXT\",getHTML); } bef_t = getHTML.substring(0,cur); ; aft_t = getHTML.substring(eval(cur)+1,getHTML.length); cur_t = getHTML.substr(cur,1); cur_t = cur_t.fontcolor(charColor); el.innerHTML = bef_t + cur_t + aft_t; cur++; if(cur > getHTML.length) cur=0; el.setAttribute(\"CURRENT_CHAR\",cur); getT = el.getAttribute(\"SET_TIME\"); if(getT==\"\") getT = 100; setTimeout(\"textAnima_color2(\'\"+id+\"\',\"+n+\")\",eval(getT)); } if(isIE4) { window.onload = init; } function init() { id = \"ANIMA_TEXT_COLOR2\"; len = document.all.item(id).length; if(!len) len=1; for(var i=0;i<len;i++) { textAnima_color2(id,i); } } //--> </script> <span style=\"font-size:10pt;font-family:&quot;新細明體&quot;\" id=\"ANIMA_TEXT_COLOR2\" SET_COLOR=\"yellow\" SET_TIME=\"100\" CURRENT_CHAR SET_TEXT> 欢迎光临密码破解区 </span></p>

yanggang54 发表于 2008-6-6 17:00

<script Language=\"JavaScript\"> <!-- if(navigator.appVersion.charAt(0)>=4 && (navigator.appVersion).indexOf(\"MSIE\")!=-1) isIE4 = true; else isIE4 = false; function textAnima_color2(id,n) { el = document.all.item(id,n); charColor = el.getAttribute(\"SET_COLOR\"); cur = el.getAttribute(\"CURRENT_CHAR\"); if(cur==\"\") cur = 0; getHTML= el.getAttribute(\"SET_TEXT\"); if(getHTML == \"\") { getHTML = el.innerText; el.setAttribute(\"SET_TEXT\",getHTML); } bef_t = getHTML.substring(0,cur); ; aft_t = getHTML.substring(eval(cur)+1,getHTML.length); cur_t = getHTML.substr(cur,1); cur_t = cur_t.fontcolor(charColor); el.innerHTML = bef_t + cur_t + aft_t; cur++; if(cur > getHTML.length) cur=0; el.setAttribute(\"CURRENT_CHAR\",cur); getT = el.getAttribute(\"SET_TIME\"); if(getT==\"\") getT = 100; setTimeout(\"textAnima_color2(\'\"+id+\"\',\"+n+\")\",eval(getT)); } if(isIE4) { window.onload = init; } function init() { id = \"ANIMA_TEXT_COLOR2\"; len = document.all.item(id).length; if(!len) len=1; for(var i=0;i<len;i++) { textAnima_color2(id,i); } } //--> </script> <span style=\"font-size:10pt;font-family:&quot;新細明體&quot;\" id=\"ANIMA_TEXT_COLOR2\" SET_COLOR=\"yellow\" SET_TIME=\"100\" CURRENT_CHAR SET_TEXT> 多难兴邦 </span></p>

bakon 发表于 2008-6-8 00:25

太漂亮

jun99 发表于 2008-6-8 10:45

<SPAN id=ANIMA_TEXT_COLOR2 style=\"FONT-SIZE: 10pt; FONT-FAMILY: \'新細明體\'\" SET_TEXT CURRENT_CHAR SET_TIME=\"100\" SET_COLOR=\"yellow\">欢迎光临中画网 </SPAN>
<P></P>

彼岸秋水 发表于 2008-6-8 11:15

<SPAN id=ANIMA_TEXT_COLOR2 style=\"FONT-SIZE: 10pt; FONT-FAMILY: \'新細明體\'\" SET_TEXT CURRENT_CHAR SET_TIME=\"100\" SET_COLOR=\"yellow\">感谢老师分享 </SPAN>
<P></P>

三湘英雄 发表于 2008-6-10 01:18

<script Language=\"JavaScript\"> <!-- if(navigator.appVersion.charAt(0)>=4 && (navigator.appVersion).indexOf(\"MSIE\")!=-1) isIE4 = true; else isIE4 = false; function textAnima_color2(id,n) { el = document.all.item(id,n); charColor = el.getAttribute(\"SET_COLOR\"); cur = el.getAttribute(\"CURRENT_CHAR\"); if(cur==\"\") cur = 0; getHTML= el.getAttribute(\"SET_TEXT\"); if(getHTML == \"\") { getHTML = el.innerText; el.setAttribute(\"SET_TEXT\",getHTML); } bef_t = getHTML.substring(0,cur); ; aft_t = getHTML.substring(eval(cur)+1,getHTML.length); cur_t = getHTML.substr(cur,1); cur_t = cur_t.fontcolor(charColor); el.innerHTML = bef_t + cur_t + aft_t; cur++; if(cur > getHTML.length) cur=0; el.setAttribute(\"CURRENT_CHAR\",cur); getT = el.getAttribute(\"SET_TIME\"); if(getT==\"\") getT = 100; setTimeout(\"textAnima_color2(\'\"+id+\"\',\"+n+\")\",eval(getT)); } if(isIE4) { window.onload = init; } function init() { id = \"ANIMA_TEXT_COLOR2\"; len = document.all.item(id).length; if(!len) len=1; for(var i=0;i<len;i++) { textAnima_color2(id,i); } } //--> </script> <span style=\"font-size:10pt;font-family:&quot;新細明體&quot;\" id=\"ANIMA_TEXT_COLOR2\" SET_COLOR=\"yellow\" SET_TIME=\"100\" CURRENT_CHAR SET_TEXT> 感谢楼主分享 </span></p>

liyang66588 发表于 2008-6-11 16:23

<P><CODE id=code0>&lt;script Language=\"JavaScript\"&gt; &lt;!-- if(navigator.appVersion.charAt(0)&gt;=4 &amp;&amp; (navigator.appVersion).indexOf(\"MSIE\")!=-1) isIE4 = true; else isIE4 = false; function textAnima_color2(id,n) { el = document.all.item(id,n); charColor = el.getAttribute(\"SET_COLOR\"); cur = el.getAttribute(\"CURRENT_CHAR\"); if(cur==\"\") cur = 0; getHTML= el.getAttribute(\"SET_TEXT\"); if(getHTML == \"\") { getHTML = el.innerText; el.setAttribute(\"SET_TEXT\",getHTML); } bef_t = getHTML.substring(0,cur); ; aft_t = getHTML.substring(eval(cur)+1,getHTML.length); cur_t = getHTML.substr(cur,1); cur_t = cur_t.fontcolor(charColor); el.innerHTML = bef_t + cur_t + aft_t; cur++; if(cur &gt; getHTML.length) cur=0; el.setAttribute(\"CURRENT_CHAR\",cur); getT = el.getAttribute(\"SET_TIME\"); if(getT==\"\") getT = 100; setTimeout(\"textAnima_color2(\'\"+id+\"\',\"+n+\")\",eval(getT)); } if(isIE4) { window.onload = init; } function init() { id = \"ANIMA_TEXT_COLOR2\"; len = document.all.item(id).length; if(!len) len=1; for(var i=0;i&lt;len;i++) { textAnima_color2(id,i); } } //--&gt; &lt;/script&gt; &lt;span style=\"font-size:10pt;font-family:&amp;quot;新細明體&amp;quot;\" id=\"ANIMA_TEXT_COLOR2\" SET_COLOR=\"yellow\" SET_TIME=\"100\" CURRENT_CHAR SET_TEXT&gt; 欢迎光临中画网 &lt;/span&gt; &amp;nbsp;&lt;/p&gt;</CODE></P>
<P><CODE></CODE> </P>
<P><CODE>看看效果啊</CODE></P>

liyang66588 发表于 2008-6-11 16:25

<SPAN id=ANIMA_TEXT_COLOR2 style=\"FONT-SIZE: 10pt; FONT-FAMILY: \'新細明體\'\" SET_TEXT CURRENT_CHAR SET_TIME=\"100\" SET_COLOR=\"yellow\">欢迎光临中画网 </SPAN>
<P></P>
页: 1 2 3 4 [5] 6 7
查看完整版本: 闪亮的文字