This script goes by the clock on your computer.
The numbers in the array below are the titles:
Code:
<html>
<head>
<script type="text/javascript">
var titles = new Array("","1","2","3","4","5",
"6","7","8","9","10","11"," 12"," 13","14",
"15","16","17","18","19","20","21","22","23","24")
onload=function dispdates() {
var today = new Date()
var hours = today.getHours()
news.innerHTML=titles[hours]
setTimeout("dispdates()",1000)
}
</script>
</head>
<body>
<div id="news"></div>
</body>
</html>
The red indicates the titles array
Bookmarks