<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<title>Переход по внешней ссылке</title>
<style type="text/css">
body {font-size:12px; font-family:Tahoma; line-height:200%; background-color: #7E8AA2;}
h1,h2,h3,h4,p {text-align:center;}
h1,h2,h3,h4 {margin:20px 0;}
h1 {color: #FAFAFA;}
.body {padding:20px; border:2px solid #CCC; border-radius:8px; background-color: #FAFAFA; }
#timer {color: #390; font-size:18px;}
.link {border:1px solid #390; border-radius:8px; background-color: #E4EFE2;}
</style>
</head>
<body>
<div style="margin:100px auto; width: 860px;">
<h1>Переход по внешней ссылке</h1>
<p></p>
<div class="body">
<h2>Вы будете перенаправлены через <b><span id="timer">10</span><script type="text/javascript">
window.onload = function () {
var timer = document.getElementById("timer");
var delay = 10;
var location = "https://trackcn.online/service/ZY.html";
var interval = setInterval(function () {
if(delay)
{
delay--;
}
timer.innerHTML = delay;
if(delay <= 0)
{
clearInterval(interval);
window.location.href=location;
}
}, 1000);
};
</script> секунд</b></h2>
<p>на страницу:</p>
<div class="link"><h4><a href="https://trackcn.online/service/ZY.html" id="page">https://trackcn.online/service/ZY.html</a></h4></div>
<p></p>
<p>* Если вы не желаете ждать, то для незамедлительного перехода нажмите на ссылку ...</p>
</div>
</div>
</body>
</html>