thezeppzone
03-22-2003, 03:22 AM
anyone know of any sites or scripts or cgi- based ways to have a current time with like time in hours and minutes in text then i dont know if itd be seperate but then an automatic date changer also in text. Im kind of getting sick of these new things with borders or the thing i have now and it doesnt have any right colors.
anyone got and good sites? thanks!
Cgiscript.net (http://www.cgiscript.net/site_javascripts.htm) has a couple javascripts.
thezeppzone
03-22-2003, 01:18 PM
Is there any way i could make this code be normal text instead of showing in the status bar and make it look like this oly both centered??
date
time
<SCRIPT language="JavaScript">
<!--
// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************
function runClock() {
theTime = window.setTimeout("runClock()", 1000);
var today = new Date();
var display = today.toLocaleString();
window.status = display;
}
runClock();
-->
</SCRIPT>
<SCRIPT language="JavaScript">
<!--
// *************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// *************************
function runClock() {
theTime = window.setTimeout("runClock()", 1000);
var today = new Date();
var display = today.toLocaleString();
document.write(display);
}
runClock();
-->
</SCRIPT>
But for the time to update, the page has to refresh.... :/
There's another code you can download here (http://www.ragecreations.com/beta/rcdatetime.php). :)
http://www.cutandpastescripts.com (http://www.cutandpastescripts.com)
thezeppzone
03-23-2003, 06:37 PM
yep i got one now...thatnks for the replies