Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
"Ще бъдете пренасочен след ..." и на мястото на ... да ги изброява надоло (5, 4, 3, 2, 1, 0) и като преброи до 0 да ме пренасочи към друга страница.
<html>
<head>
<script language="JavaScript">
function redir() {
window.location='http://site.com';
}
</script>
</head>
<body onload="setTimeout('redir()',0)">
</body>
</html>
federer_11 каза:<html>
<head>
<script language="JavaScript">
function redir() {
window.location='http://site.com';
}
</script>
</head>
<body onload="setTimeout('redir()',0)">
</body>
</html>
0 заместваш със секундите, които искаш :wink:
alex95_bg_2 каза:http://www.javascriptkit.com/script/script2/cr.shtml
Кажи ако не искаш да е в форм![]()
<center>
<font face="Arial"><b>You will be redirected to the script in<br><br>
<span id="redirect2"></span>
seconds</b></font>
</center>
<script>
</script>
alex95_bg_2 каза:Код:<center> <font face="Arial"><b>You will be redirected to the script in<br><br> <span id="redirect2"></span> seconds</b></font> </center> <script> </script>