閃亮的標題語法試範點我以下為閃亮的標題語法複製程式
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="Microsoft FrontPage 6.0" name=GENERATOR>
<BODY bgColor=#ffffff leftMargin=0 topMargin=3 vLink=#ff00ff>
<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>
<P align=left><FONT color=#000000
size=3><BR>
<SPAN id=ANIMA_TEXT_COLOR2 style="FONT-FAMILY: 新細明體; "
SET_TEXT CURRENT_CHAR SET_TIME="100" SET_COLOR="orange">歡迎光臨 ◥◣MyChat 數位男女◢◤ </SPAN></FONT></P>