|
Anasayfa Adı Sürekli Değişsin
(gösterim sayısı: 194)
|
| Yazan |
Konu içeriği |
|
SelimErkan
[Selim Erkan]
Kayıt Tarihi: 19.06.2008
İleti Sayısı: 51
Şehir: Gizli
Durum: Gizli
E-Posta Gönder
Web Adresi
Özel ileti Gönder
|
Konu Tarihi: 20.06.2008- 00:15
İndex.php en alta inin ve bu kodu ekleyin
<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] = "İstediğinizi"
ar[2] = "Yazın"
ar[3] = "Bravo"
ar[4] = "Phpkf"
ar[5] = "SelimErkan"
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)
var full = true
// set variable to false if a free space is found in string (a not-displayed char)
for (var j = 0; j < state.length; ++j) {
// if character at index j of current message has not been placed in displayed string
if (state.charAt(j) == 0)
full = false
}
// return true immediately if no space found (avoid infinitive loop later)
if (full) return true
// search for random until free space found (braoken up via break statement)
while (1) {
// a random number (between 0 and state.length - 1 == message.length - 1)
var num = getRandom(ar[message].length)
// if free space found break infinitive loop
if (state.charAt(num) == "0")
break
}
// replace the 0 character with 1 character at place found
state = state.substring(0, num) + "1" + state.substring(num + 1, state.length)
// return false because the string was not full (free space was found)
return false
}
// http://www.tfrm.net
function getRandom(max) {
// create instance of current date
var now = new Date()
// create a random number (good generator)
var num = now.getTime() * now.getSeconds() * Math.random()
// cut random number to value between 0 and max - 1, inclusive
return num % max
}
startBanner()
// -->
</script>
demo www.hayatfelsefem.com/phpkf
site reklamı filan demeyin çünkü siteyle pek ilgilenmiyorum sadece amaç phpkf forum kullananlara faydalı olması
|
Bu Hayat Biraz Doğru Biraz Yanlış Fakat Benim Hayatım...
This Life Some True Some False But This Is my life
http://www..hayatfelsefem.com Yönetici Alımları Başladı
|
|
Cvp:
Cevap: 1
|
| Yazan |
Cevap içeriği |
|

ByLegenS
[Yücel KAHRAMAN]
phpKF Ekip Üyesi
Kayıt Tarihi: 29.01.2008
İleti Sayısı: 327
Şehir: Gizli
Durum: Gizli
E-Posta Gönder
Web Adresi
Özel ileti Gönder
|
Cevap Tarihi: 20.06.2008- 03:09
paylaşım için teşekkürler...
|
|
phpKF Sürüm 1.50 - phpKF-Portal Sürüm 1.10
|
|
Cvp:
Cevap: 2
|
| Yazan |
Cevap içeriği |
|

gültay
[www forumixir com]
Kayıt Tarihi: 19.02.2008
İleti Sayısı: 386
Şehir: Gizli
Durum: Forumda Değil
E-Posta Gönder
Web Adresi
Özel ileti Gönder
|
Cevap Tarihi: 22.06.2008- 10:10
bu ne işe yarıyor?biraz bilgi verebilirmisin
|

Eğitimdir ki, bir milleti hür, bağımsız, şanlı, yüksek bir toplum halinde yaşatır, veya bir milleti kölelik ve yoksulluğa terkeder
|
|
Cvp:
Cevap: 3
|
| Yazan |
Cevap içeriği |
|

PRNRMLWBMSTR
[PaRaNoRMaLWeBMasTeR]
Kayıt Tarihi: 06.06.2008
İleti Sayısı: 189
Şehir: Gizli
Durum: Gizli
E-Posta Gönder
Özel ileti Gönder
|
Cevap Tarihi: 22.06.2008- 11:47
anasayfa en üstteki kısım sürekli yeni bir ad alıcak
|
__________________ Bu ileti en son PRNRMLWBMSTR
tarafından 22.06.2008- 12:35 tarihinde, toplamda 2 kez değiştirilmiştir.
|