Html Zaman Döngüsü
-
<html>
<head>
<title>The Coming Soon</title>
<meta http-equiv="refresh" content="5;URL=anasayfa.html">
</head>
<body bgcolor=#334455 text=#eaeaea link=#eaeaea vlink=#eaeaea alink=#808080>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<center><h1><font size="5" Color="Red"> 5 Saniye Sonra Yonlendiriliyorsunuz.. </font> 5 Saniye Döngüsü Buraya Gelsin
<br><br><br><br>
<h1><font size="5" Color="Black"> xxxx </font>
<br><br><br><br><br><br>
<p align="center"><font Face="Arial" Size="2"> xxx </font>
</h1>
</center>
</body>
</html><script language="javascript">
function checktime(yotime) {
yotime = yotime-1;
if (yotime < 0) {
document.getElementById('Adresleniyor').innerHTML = '<b>(<a href=""javascript:history.back(1)""><font color=red> Yönlenmediyse Tıklayın </font></a>)</b>';
} else {
document.getElementById('Adresleniyor').innerHTML = '<b>(<font color=red>'+ yotime +'</font>)</b>';
}
window.setTimeout("checktime("+yotime+")",1000);
}
</script>
Lütfen Bekleyiniz...<font id="Adresleniyor"></font><script language="javascript">checktime(6);</script>Nasıl birleştircez :S
-
<html>
<head>
<title>The Coming Soon</title>
<meta http-equiv="refresh" content="5;URL=anasayfa.html">
<script language="javascript">
function checktime(yotime) {
yotime = yotime-1;
if (yotime < 0) {
document.getElementById('Adresleniyor').innerHTML = '<b>(<a href=""javascript:history.back(1)""><font color=red> Yönlenmediyse Tıklayın </font></a>)</b>';
} else {
document.getElementById('Adresleniyor').innerHTML = '<b>(<font color=red>'+ yotime +'</font>)</b> Saniye Sonra Yonlendiriliyorsunuz..';
}
window.setTimeout("checktime("+yotime+")",1000);
}
checktime(6);
</script></head>
<body bgcolor=#334455 text=#eaeaea link=#eaeaea vlink=#eaeaea alink=#808080>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<center>
<h1><span id="Adresleniyor"></span>
<br><br><br><br>
<h1><font size="5" Color="Black"> xxxx </font>
<br><br><br><br><br><br>
<p align="center"><font Face="Arial" Size="2"> xxx </font>
</h1>
</center>
</body>
</html>
Böyle birleştirirsen çalışması lazım.
-
sanki çalışmıyo gibi :S
-
<meta http-equiv="refresh" content="5;URL=link">
-
<span id="yazi"></span> saniye sonra ana sayfaya yönleneceksiniz.
<script LANGUAGE="JavaScript">
function say(kac)
{
if(kac > 0)
{
kac = kac-1;
document.getElementById("yazi").innerHTML= kac+1;
setTimeout("say("+kac+")",1000);
} else if (kac == 0) {
location.href = "gidilecek_adres.html";
document.getElementById("yazi").innerHTML= "Yönleniyor...;
}
}
say(5);
</script>meta ne ola ki? :p
-
Oldu sonunda :=)
-
by_kamu bunu yazdı:
-----------------------------
Oldu sonunda :=)
-----------------------------geçmiş olsun :)
