This is a discussion on "AJAX powered clock" within the JavaScript Forum section. This forum, and the thread "AJAX powered clock are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
AJAX powered clock
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
AJAX powered clock
I need clock based on AJAX technology. I look for one of the jQuery
clock but i want some alternative. |
|
|
|
#2
|
||||
|
||||
|
Re: AJAX powered clock
An ajax clock? This seems like a terrible waste of system and server resources. You can have a clock without ever having to use ajax. Just using intervals and the javascript date() Object.
What were you planning on having the ajax retrieve?
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
#3
|
|||
|
|||
|
Re: AJAX powered clock
Here is what I do:
1. Use PHP to fill the text boxes with current time. 2. Once the filled text boxes are sent to the browser, javascript setInterval() is used to change the figures on the browser.
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
|
|
#4
|
|||
|
|||
|
Re: AJAX powered clock
Start reading this tutorial: http://www.w3schools.com/ajax/ajax_example.asp
It's pretty much what I think your looking for. You'd just need to make a few simple alterations. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to add a clock to your page! | whiteknig863 | Web Page Design | 5 | Jul 18th, 2007 14:27 |
| CSS powered drop down menu implementation issue | koremelt | Web Page Design | 4 | Jul 17th, 2007 12:51 |
| Ajax Messages (Ajax Demonstration) | iMarc | JavaScript Forum | 1 | Mar 21st, 2007 22:48 |
| Beta-news.co.uk powered by Joomla Community Builder | simonb | Free Web Site Critique | 0 | Jan 30th, 2007 18:06 |
| Confusing Clock | adrix | Flash & Multimedia Forum | 5 | Aug 31st, 2006 14:26 |