You could probably make use of "noscript" tags to just show page request
time by default, and then if the javascript is enabled it will change the
contents of the div to make it show the current time every second.
...
<script language="javascript"><!-- // hide from older browsers
function startClock() {
...
}
// --></script>
...
<body onload="javascript: startClock();">
...
<div id="clock">
<noscript>
Page requested at nn:nn
</noscript>
</div>
...
- Peter
-----Original Message-----
From: Mark Smyth [mailto:[EMAIL PROTECTED]
Sent: 16 October 2003 15:40
To: '[EMAIL PROTECTED]'
Subject: RE: [ cf-dev ] Date and Time on page
if its a clock, there are 2 variations below
http://www.javascript-page.com/clock.html
http://www.usingit.com/products/js/datetime/jck/
you just have to be aware that JS can be turned off..
hth
Mark
-----Original Message-----
From: Stephen Moretti [mailto:[EMAIL PROTECTED]
Sent: 16 October 2003 15:31
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] Date and Time on page
Do you mean #TimeFormat(now(),"HH:mm:ss")# or do you mean a clock?
Lovelock, Richard J wrote:
> what is the best way to get a date/clock on a page? (i.e. mins, secs
etc)
>
> _______________________________________________________<?xml:namespace
> prefix = o ns = "urn:schemas-microsoft-com:office:office" />
>
> * Regards,
> Richard Lovelock
>
> Westminster City Council - Web Support
> Cap Gemini Ernst & Young
> Southbank
> 95 Wandsworth Road
> London
> SW8 2HG
>
> ( 0870 906 7482
>
> _______________________________________________________
>
>
>
>
> =======================================================
> This message contains information that may be privileged or confidential
and is the property of the Cap Gemini Ernst & Young Group. It is intended
only for the person to whom it is addressed. If you are not the intended
recipient, youare not authorized to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all copies
of this message.
> =======================================================
>
>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]