نسخة الكود كما يلي:
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv = "content-type" content = "text /html ؛ charset = gb2312" />
<title> 60 تحديث هذه الصفحة </title>
<script type = "text/javaScript">
var t ؛
t = 60 ؛
وظيفة shua ()
{
t = t-1 ؛
document.getElementById ("تلميحات"). innerhtml = "لا يزال هناك"+T+"Seconds" قبل وقت التحديث التالي ؛
إذا (t == 0)
{
document.location.reload () ؛
}
}
</script>
</head>
<body onload = "window.setinterval (shua ، 1000) ؛">
<centre>
<font id = "Hints" style = "color: Blue"> 60 ثانية متبقية قبل وقت التحديث التالي </font> <br/>
<centre>
</body>
</html>