AJAX powered clock

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.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Feb 7th, 2008, 22:10
Junior Member
Join Date: Nov 2007
Location: serbia
Age: 23
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
AJAX powered clock

I need clock based on AJAX technology. I look for one of the jQuery
clock but i want some alternative.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Feb 8th, 2008, 03:32
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Feb 8th, 2008, 09:33
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Feb 8th, 2008, 19:53
Reputable Member
Join Date: Apr 2007
Location: Scotland
Age: 17
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 19:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42