![]() |
Super, how do I change the clock to like this?
Tuesday, August 25th, 2006 |
Nevermind.
|
In Portuguese its like this :D
<!-- 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. |
installed thanks
Regards Gazer. |
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
Regards Gazer. |
Quote:
Cheers! |
Quote:
|
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.... |
Great Mod i have installed it, However between the date and the month their is no space can this be fixed?
|
All times are GMT. The time now is 02:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|