如何在【網頁下方顯示狀態列】
_____________________________________
怎樣在【網頁下方顯示狀態列】1. 選擇自己喜歡的樣式,然後複製程式碼,更改文字內容和數字(調整速度)。
2.修改之後存檔,然後上傳到網路空間
3.將程式碼貼於網頁
4.上傳後取得網址放置下列語法中就能放進日記中了
這語法是隱藏式哪個位置都能放置
(↓複製下面的網頁程式碼貼在自製網頁文字自行修改↓)
.............................................................................
狀態列在網頁下分段跑馬燈↓
更改文字內容和更改數字(調整顯示速度和每段間隔時間)
var type = new Array(9)
type[0] = "文字 "
type[1] = "文字"
type[2] = "文字"
type[3] = "文字"
type[4] = "文字"
type[5] = "文字"
type[6] = "文字"
type[7] = "文字"
type[8] = "文字"
function typewrite() {
var m = type[current]
window.status = m.substring(0, x) + "_"
x = x+1
if (x == m.length + 1) {
x = 0
current = current+1
if (current == type.length) {current = 0}
setTimeout("typewrite()", speed2)}
else {setTimeout("typewrite()", speed)}
}
typewrite()//-->
..........................................................................................
狀態列在網頁下左右擺動
(複製下面的程式碼↓)
複製下面的文字↓更改文字內容和更改數字(調整游動速度 50-500 ,調整游動寬度100-150)
function Scroll2() {
window.status = text2.substring(x, text2.length)
if (text2.length - x == text.length) { text2 = text
x = 0
setTimeout("Scroll()", speed);}
else {x++
setTimeout("Scroll2()", speed);}}
Scroll()
//-->
.......................................................................................................
狀態列分段式跑馬燈
(複製下面的程式碼↓)
更改文字內容和更改數字(調整顯示速度和每段間隔時間)
var currentMessage = 0
var offset = 0
function stopBanner() {
if (bannerRunning)
clearTimeout(timerID)
bannerRunning = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[currentMessage]
if (offset if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
window.status = partialMessage
offset++ // IE sometimes has trouble with "++offset"
timerID = setTimeout("showBanner()", speed)
bannerRunning = true
} else {
offset = 0
currentMessage++
if (currentMessage == ar.length)
currentMessage = 0
timerID = setTimeout("showBanner()", pause)
bannerRunning = true
}
}
-->