浏览器下角状态栏显示的语句代码三
3、一句一句地显示,如我的主博:忆瀞忆境
<SCRIPT language=JavaScript>
var current = 0
var x = 0
var speed = 50
var speed2 = 700
function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
typ = new initArray(8)
typ[0]=" 遠離了人群感覺有點冷清..."
typ[1]=" ...滿街地遊走想讓心情平靜..."
typ[2]=" 我們到底為了什么去奔命..."
typ[3]=" 是不是那未來虛搆的夢境..."
typ[4]=" 我承認有時也會厭舊喜新..."
typ[5]="可世上哪有看不夠的風景..."
typ[6]="投入了太多隻會換來傷心..."
typ[7]=" 還不如就這樣誰也別太接近..."
function typewrite() {
var m = typ[current]
window.status = m.substring(0, x++) + ""
if (x == m.length + 1) {
x = 0
current++
if (current > typ.length - 1) {
current = 0
}
setTimeout("typewrite()", speed2)
}
else {
setTimeout("typewrite()", speed)
}
}
typewrite()//</SCRIPT>



╰εїз゚ Comments >>>
我好笨哦~
随便啊, 最下面吧~
(2008-07-10 13:01:32)
放在修改模板的CSS里~~
(2008-07-09 10:39:16)
好像没有名字的,main theme
你上百度查便能找到
安
谢谢七月!
(2008-06-14 14:53:17)
你说什么?
(2008-06-14 14:47:10)