<!-- clock hack-->
<div id="clock">Loading...</div>
<script type="text/javascript">
function refrClock()
{
var d=new Date();
var s=d.getSeconds();
var m=d.getMinutes();
var h=d.getHours();
var day=d.getDay();
var date=d.getDate();
var month=d.getMonth();
var year=d.getFullYear();
var days=new Array("Sun","Mon","Tue","Wed","Thurs","Fri","Sat");
var months=new Array("1","2","3","4","5","6","7","8","9","10","11","12");
var am_pm;
if (s<10) {s="0" + s}
if (m<10) {m="0" + m}
if (h>12) {h-=12;am_pm = "pm"}
else {am_pm="am"}
if (h<10) {h="0" + h}
document.getElementById("clock").innerHTML=months[month] + "-" + date + "-" + year + " [" + days[day] + "] [" + h + ":" + m + ":" + s + "] " + am_pm;
setTimeout("refrClock()",1000);
}
refrClock();
</script>
<!-- / clock hack -->
<!-- clock hack -->
<div id="clock">Loading...</div>
<script type="text/javascript">
function refrClock()
{
var d=new Date();
var s=d.getSeconds();
var m=d.getMinutes();
var h=d.getHours();
var day=d.getDay();
var date=d.getDate();
var month=d.getMonth();
var year=d.getFullYear();
var days=new Array("Domingo","Segunda","Ter?a","Quarta","Quinta ","Sexta","Sabado");
var months=new Array("Janeiro","Fevereiro","Mar?o","Abril","Maio" ,"Junho","Julho","Agosto","Setembro","Outubro","No vembro","Dezembro");
var am_pm;
if (s<10) {s="0" + s}
if (m<10) {m="0" + m}
if (h>24) {h=24;}
if (h<10) {h="0" + h}
document.getElementById("clock").innerHTML=days[day] + " " + date + " " + months[month] + " " + year + ", " + h + ":" + m + ":" + s + " ";
setTimeout("refrClock()",1000);
}
refrClock();
</script>
<!-- / clock hack -->
Looks like this javascript is interfering with cron.php
I installed and the message on status bar "Downloading cron.php etc..." is frozen. I uninstalled and no problems.
I have noticed that the 1st three days of the date is like this..... 1th 2th 3th is there anyway of changing this so we can have 1st 2nd 3rd please i think the rest should be ok 4th 5th 6th and so on untill we get to 21st
I have noticed that the 1st three days of the date is like this..... 1th 2th 3th is there anyway of changing this so we can have 1st 2nd 3rd please i think the rest should be ok 4th 5th 6th and so on untill we get to 21st
<!-- clock vb 3.6.0 wrote by SuperFly - edited by Aclikyano -->
<div id="clock">Loading...</div>
<script type="text/javascript">
function refrClock()
{
var d=new Date();
var s=d.getSeconds();
var m=d.getMinutes();
var h=d.getHours();
var day=d.getDay();
var date=d.getDate();
var month=d.getMonth();
var year=d.getFullYear();
var days=new Array("Sun","Mon","Tue","Wed","Thurs","Fri","Sat") ;
var months=new Array("1","2","3","4","5","6","7","8","9","10","11 ","12");
var am_pm;
if (s<10) {s="0" + s}
if (m<10) {m="0" + m}
if (h>12) {h-=12;am_pm = "pm"}
else {am_pm="am"}
if (h<10) {h="0" + h}
document.getElementById("clock").innerHTML=months[month] + "-" + date + "-" + year + " [" + days[day] + "] [" + h + ":" + m + ":" + s + "] " + am_pm;
setTimeout("refrClock()",1000);
}
refrClock();
</script>
<!-- / clock hack -->
thanks for posting this... its a lot easier for me and mems... i switched the date around and made it more ordered according to how we say it.. wed sept 6, 2006
still, i couldnt have done it without you....