Kodları İndex Kalıbının En altına Yerleştiriniz.
"BURAYA" Yazan Yerleri Kendinize Göre Değiştirin...
<br>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<script language="JavaScript">
var speed = 10
var pause = 3000
var timerID = null
var bannerRunning = false
var ar = new Array()
ar[0] = " ....::: BURAYA :::...."
ar[1] = " ....::: BURAYA :::...."
ar[2] = " ....::: BURAYA :::...."
ar[3] = " ....::: BURAYA :::...."
ar[4] = " ....::: BURAYA :::...."
ar[5] = " ....::: BURAYA :::...."
var message = 0
var state = ""
clearState()
function stopBanner() {
// if banner is currently running
if (bannerRunning)
// stop the banner
clearTimeout(timerID)
// timer is now stopped
timerRunning = false
}
// start the banner
function startBanner() {
// make sure the banner is stopped
stopBanner()
// start the banner from the current position
showBanner()
}
// assign state a string of "0" characters of the length of the current message
function clearState() {
// initialize to empty string
state = ""
// create string of same length containing 0 digits
for (var i = 0; i < ar[message].length; ++i) {
state += "0"
}
}
// display the current message
function showBanner() {
// if the current message is done
if (getString()) {
// increment message
message++
// if new message is out of range wrap around to first message
if (ar.length <= message)
message = 0
// new message is first displayed as empty string
clearState()
// display next character after pause milliseconds
timerID = setTimeout("showBanner()", pause)
}
else {
// initialize to empty string
var str = ""
// built string to be displayed (only character selected thus far are displayed)
for (var j = 0; j < state.length; ++j) {
str += (state.charAt(j) == "1") ? ar[message].charAt(j) : " "
}
document.title = str
timerID = setTimeout("showBanner()", speed)
}
}
function getString() {
// set variable to true (it will stay true unless proven otherwise)