Wow.. Thanks Dave!

Exactly what I wanted!

        Lee


> -----Original Message-----
> From: Baskin, Dave [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, November 09, 2001 11:36 AM
> To: CF-Talk
> Subject: RE: Timed Pop-Up Question...
> 
> 
> Hey Lee, here's a script for you:
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 
> Transitional//EN"> <html> <head>
>       <title>Untitled</title>
>       <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
>       <!--
>       function monitorUser(){
>               setTimeout("throwAlert()", 1000)
>               // ("function to call when timeout has been 
> reached", time
> in milliseconds)
>               // 60,000 milliseconds in one minute
>       }
> 
>       function throwAlert(){
>               alert("Your session is about to expire!");
>       }
>       //-->
>       </SCRIPT>
> </head>
> 
> <body onload="monitorUser();">
> this is my web page...
> </body>
> </html>
> 
> just change your timeout value to whatever you want it to be 
> and then do the same for your message and you're all good. 
> 
> d
> 
> 
> 
> -----Original Message-----
> From: Lee Fuller [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 09, 2001 11:28 AM
> To: CF-Talk
> Subject: SOT: Timed Pop-Up Question...
> 
> 
> Wondering if anyone has seen some javascript that would do 
> this.. Or knows what it would take.
> 
> Since session vars are set to timeout at specific intervals, 
> I'm wondering how hard it would be (not being a Javascript 
> guru) to set a timer upon execution of a template, that would 
> pop-up at a specified number of minutes or seconds, so that 
> we could warn the user that their session is about to timeout.
> 
> Sure would keep our clients who like to sit at their screen 
> and futz around with adding info over a 1 hours period from 
> getting made cuz the changes they forgot they made 10 minutes 
> ago are now going to be lost!
> 
> Any ideas anyone?
> 
>       Lee
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to