Jump to content

Recommended Posts

If you want a time displayed in the browser that changes colors in real time as the visitor is displaying a web page, you would need to use javascript. There are various javascript clock scripts posted all over the Internet. It would only take a small amount of logic to test the time value and alter the color. If you want the server's time to be used as the reference instead of the visitor's, you would need to output the server's time as the starting value for the javascript to use.

 

Edit: For example - http://www.dynamicdrive.com/dynamicindex6/localtime.htm

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.