close

語法說明:

1.在 setTimeout("typeit()",100) 中修改文字出現的速度 中修改文字出現的速度
2.請自行修改文字訊息的內容

<!--打字式文字_開始-->
<script language="JavaScript">
<!--
var it=0
var head="display:''"
function initialize(){
mytext=typing.innerText
var myheight=typing.offsetHeight
typing.innerText=''
document.all.typing.style.height=myheight
typeit()
}
function typeit(){
typing.insertAdjacentText("beforeEnd",mytext.charAt(it))
if (it<mytext.length-1){
it++
<!--在 setTimeout("typeit()",100) 中修改文字出現的速度-->
setTimeout("typeit()",100)
}
else
return
}
if (document.all)
document.body.onload=initialize
-->
</script>
<span id="typing" style="visiblity:hidden;height:2" style=&{head};>歡迎光臨小林工作室 本站網址 http://ns-girl.myweb.hinet.net/</span>
<!--打字式文字_結束-->
arrow
arrow
    全站熱搜

    nicole 發表在 痞客邦 留言(0) 人氣()