merhaba arkadaşlar şöyle birşeye ihtiyacım var yardımcı olursanız sevinirim
1 kod düşünün
http://xxx.com/1.html
http://xxx.com/2.html
http://xxx.com/3.html
http://xxx.com/4.html
http://xxx.com/5.html
http://xxx.com/6.html
http://xxx.com/7.html
http://xxx.com/8.html
http://xxx.com/9.html
her 10 sn'de bir belirlediğim linkler açılıcak yardımcı olursanız sevinirim iyi çalışmalar ama ayni linkler açılmıçak 1 link 1 kez açılıcak teşekkürler şimdiden.
php kodu
7
●795
- 10-12-2006, 13:41:55<html>
<body>
<SCRIPT LANGUAGE="JavaScript">
<!--
function display()
{
rtime=etime-ctime;
if (rtime>60)
m=parseInt(rtime/60);
else
m=0;
s=parseInt(rtime-m*60);
if(s<10)
s="0"+s
window.status="Kalan Süre: "+m+":"+s
window.setTimeout("checktime()",1000)
}
function settimes()
{
alert("Bu sayfa 5 dakika sonra yönlenecektir")
var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
etime=hours*3600+mins*60+secs;
etime+=300;
checktime();
}
function checktime()
{
var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
ctime=hours*3600+mins*60+secs
if(ctime>=etime)
expired();
else
display();
}
function expired()
{
var currentdate = 0
var theranlink = " "
var core = 0
function StringArray
{
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
link = new StringArray(10)
link[0] = 'http://www.javascript-page.com'
link[1] = 'http://www.yahoo.com'
link[2] = 'http://www.geocities.com/SoHo/1449'
link[3] = 'http://www.learnhtml.org'
link[4] = 'http://www.geocities.com'
link[5] = 'http://www.worldnet.att.net'
link[6] = 'http://ucprogramming.hypermart.net'
link[7] = 'http://www.lycos.com'
link[8] = 'http://www.pit-bull.com'
link[9] = 'http://www.netforward.com'
var ran = 60/link.length
function ranlink() {
currentdate = new Date()
core = currentdate.getSeconds()
adcore = Math.floor(core/ran)
core = adcore
theranlink = link[core]
self.location = theranlink
}
open(ranlink());
}
// -->
</SCRIPT>
</bdoy>
</html>
böle bişiler birleştirdim kendine göre düzenleyebilirsin
- 18-12-2006, 16:33:22psy benim hesapla girmeye alışmış
idare edelim sen linkleri girdiqinden eminmisin
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
etime=hours*3600+mins*60+secs;
etime+=300;
bi de şuraya bak
$tim = localtime(time(),true);
$saat = $tim['tm_hour'];
$dakka = $tim['tm_min'];
$topdakka = $saat * 24 + $dakka;
$tarihbak = $saatoku + 2;
$tarihbak2 = $topdakka + 2;
bunuda ben şey etmiştim
benzio
- 18-12-2006, 20:00:06Kimlik doğrulama veya yönetimden onay bekliyor.Onun yerine çok basit bir yöntem olarak meta refresh kullansanıza, mesala 1. sayfada refresh ile 10 saniye sonra 2. sayfayı açtırın, 2. sayfada 10 saniye sonra refresh ile 3. sayfayı açsın, en son 9 a geldiğinde o da tekrar 1. sayfayı açsın...
idare edelim sen linkleri girdiqinden eminmisin