Excellent. Thank you Shawn. 

 

Here's where Google "quickly [got me] off to."

http://www.mousewhisperer.co.uk/ajax_page.html

 

Looks like a great start on the AJZAX learning curve.

 

 

Dan

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shawn gorrell
Sent: Sunday, June 03, 2007 10:33 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Browser time detection

 

This sounds like a job for AJAX man. Quickly, off to the XMLHttpRequest...

----- Original Message ----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: discussion@acfug.org
Sent: Sunday, June 3, 2007 11:24:55 AM
Subject: RE: [ACFUG Discuss] Browser time detection

Thank you John, that does help, but.my example of "good morning" was
misleading. I need to "make a decision" at the server end with, perhaps,
some sort of CFIF construct springing from the time at the user's end.

 

I am looking for a way to have a browser request send with itself the user's
local time, then set this as a session variable upon which conditional logic
could be applied. One thought that I haven' explored yet is to use a hidden
form field. Use javascript to get the local time, set a value, then
(unknowingly) the user causes this value to be sent to the server, a session
variable is set and then elements in the site can respond accordingly to the
user's time value.

 

 

Dan

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Mason
Sent: Saturday, June 02, 2007 7:13 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] Browser time detection

 

There really wouldn't be a cf solution per se since you are trying to find
the clients local time. You probably be better suited to do a javascript
code that runs on the client browser and simply does a lookup for the local
time.

 

This should help..

http://www.tizag.com/javascriptT/javascriptdate.php

 

John

[EMAIL PROTECTED]

 

 

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Saturday, June 02, 2007 5:33 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Browser time detection

I am looking for a CF solution to detect the local time of the incoming
browser request. I have a need in my app to display different elements on
the page based on the time of the user/browser. Such as "Good Morning" if
the site visitor is visiting the site in the AM, "Good evening" in the PM,
etc.

 

I've Googled myselft to death and can't seem to find what I'm looking for.
Does anyone know of a CF_custom tag, or a "how to"

 

Thanks,

 

 

 

Dan Kaufman

 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]

 

 

"What  is the distance between the eyes and the soul?" 

Fortune Cookie

 

 

 

 


------------------------------------------------------------- 
Annual Sponsor - Figleaf <http://www.figleaf.com>  Software 

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 


------------------------------------------------------------- 
Annual Sponsor - Figleaf <http://www.figleaf.com>  Software 

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 
------------------------------------------------------------- 
Annual Sponsor - Figleaf <http://www.figleaf.com>  Software 

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 

 


------------------------------------------------------------- 
Annual Sponsor - Figleaf Software <http://www.figleaf.com>  

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com>  
-------------------------------------------------------------



-------------------------------------------------------------

Annual Sponsor FigLeaf Software - http://www.figleaf.com



To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-------------------------------------------------------------


Reply via email to