|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hi i got a online game called StreetFighters and need a clock till next tick(tick = an update of the db which gives the users money and stuff). This happens every 30 min(its a cron job). I need some kind of "clock" on the page which count down till the next tick. How can i make that? Eny one got an idea. If its possbile i want it live updated so its counting down while you look at it
ShadowKiller |
|
#2
|
|||
|
|||
|
you need java or javascript. updating on their side without refresh requires java or javascript or something else client side.
a simple java applet that you load for this will be massive in size and probably not worth it. so go with javascript. i'd say just make a form that has the time till next load and have javascript change it once a second it's simple, may not be elegant, but it gets the job done, and simplicity and cross compatability can often be better than elegance |
|
#3
|
||||
|
||||
|
Moved to Javascript forum
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Tick clock |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|