I was surfing the net and there i was looking at Fragbite.se.
and i saw this cool auto updating clock.
With that i mean it updates only the clock every seconds.
Is that possible in php or is it like asp or jsp ?
Auto Updating Clock...
Started by nygorn, Jul 18 2007 06:16 PM
4 replies to this topic
#1
Posted 18 July 2007 - 06:16 PM
#2 _*Creative Insanity_*
Posted 18 July 2007 - 07:26 PM
Man what one cluttered site that is..
That clock is javascript.
That clock is javascript.
<script language="JavaScript">
var weekdays = new Array("Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag");
clock_time = new Date(2007, 6, 19, 2, 28, 34);
// Funktionen anropas från onLoad i BODY
function updateClock ()
Edited by Creative Insanity, 18 July 2007 - 07:26 PM.
#3
Posted 19 July 2007 - 01:27 AM
PHP and ASP i know can't achieve this. JSP i know nothing about. Only a client-side language like JS could do this (as creative so nicely pointed out).
If you don't feel like translating that, a tutorial search should turn up a half-dozen or more results.
If you don't feel like translating that, a tutorial search should turn up a half-dozen or more results.
#4 _*Creative Insanity_*
Posted 19 July 2007 - 01:31 AM
Click here and enter a search of clock and you will get flooded with all kinds of JS clocks.
#5
Posted 19 July 2007 - 02:25 AM
If you wanted to do this in a more "creative"/"original" way, you could try doing it in flash.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
