/ * Set width and rheight parameters * /
Var width = 150
Var height = 20
Var bgcolor = ''
// Suspend 5 seconds.
Var stop = 5000
/ / Define a set of texts, if you want to be connected, just add the tag.
Var images = new arrival ()
Images [0] = ' ☆ This is the effect ☆
Images [1] = ' online make money
Images [2] = ' best URL
Images [3] = ' Earth Hugu School Network
/ / You can add more based on the above format.
/ / Don't change the following code ///
IF (Images.Length> 1)
i = 2
Else
i = 0
Function Move1 (Whichlayer) {
TLAYER = evAl (WhichLayer)
IF (TLAYER.TOP> 0 && tlayer.top <= 5) {
TLAYER.TOP = 0
SetTimeout ("TLAYER", STOP)
SetTimeout ("Document.main.Document.second", STOP)
Return
}
IF (tlayer.top> = tlayer.document.Height * -1) {
TLAYER.TOP- = 5
SetTimeout ("Move1 (TLAYER)", 100)
}
Else {
TLAYER.TOP = HEIGHT
TLAYER.Document.write (images [i])
TLAYER.Document.close ()
IF (i == images.length-1)
i = 0
Else
i
}
Function Move2 (Whichlayer) {
TLAYER2 = evAl (WhichLayer)
IF (TLAYER2.TOP> 0 && tlayer2.top <= 5) {
TLAYER2.TOP = 0
Settimeout ("Move2 (TLAYER2)", STOP)
SetTimeout ("Document.main.Document.first", STOP)
Return
}
IF (tlayer2.top> = tlayer2.document.Height * -1) {
TLAYER2.TOP- = 5
SetTimeout ("Move2 (TLAYER2)", 100)
}
Else {
TLAYER2.TOP = HEIGHT
TLAYER2.Document.write (images [i])
TLAYER2.Document.close ()
IF (i == images.length-1)
i = 0
Else
i
}
Function Move3 (Whichdiv) {
TDIV = evAl (Whichdiv)
IF (tdiv.style.pixeltop> 0 && tdiv.style.pixeltop <= 5) {TDIV.Style.pixeltop = 0
SetTimeout ("Move3 (TDIV)", STOP)
SetTimeout ("SECOND2", STOP)
Return
}
IF (tdiv.style.pixeltop> = tdiv.offsetHeight * -1) {
TDIV.Style.pixeltop- = 5
SetTimeout ("Move3 (TDIV)", 100)
}
Else {
TDIV.Style.pixeltop = Height
TDIV.INNERHTML = images [i]
IF (i == images.length-1)
i = 0
Else
i
}
}
Function Move4 (Whichdiv) {
TDIV2 = evAl (Whichdiv)
IF (TDIV2.Style.pixeltop> 0 && Tdiv2.Style.pixeltop <= 5) {
TDIV2.Style.pixeltop = 0
SetTimeout ("Move4 (TDIV2)", STOP)
SetTimeout ("Move3 (First2)", STOP)
Return
}
IF (tdiv2.style.pixeltop> = tdiv2.offsetHeight * -1) {
TDIV2.Style.pixeltop- = 5
SetTimeout ("Move4 (Second2)", 100)
}
Else {
TDIV2.Style.pixeltop = Height
TDIV2.INNNERHTML = images [i]
IF (i == images.length-1)
i = 0
Else
i
}
Function startscroll () {
IF (Document.all) {
Move3 (first2)
Second2.Style.top = Height
}
Else if (Document.Layers) {
Move1 (Document.main.Document.first)
Document.main.document.second.top = height 5
Document.main.document.second.visibility = 'show'
}
Window.οnlοad = StartScroll
// ->