Re: Need a better [elapsedtime]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34475
interpreted = N
texte = On 7/11/00 1:16 pm, Robert Wade so noted...>Does anyone have any idea how I might go about capturing the time that is >spanned >between two user actions on a single page? For example, if I have a >simple form with a >start button at the top, then a few questions and an end button at the >bottom, is >there any way to capture the amount of time (down to at least 60ths of a >second) >between clicking start and end? I haven't looked at JS for this yet >because I'm not >real hopeful to find an answer there. Applescript, maybe??Though I'm sure something could be done with JavaScript, if you're looking to avoid it (myself, I'm always loathe to have JS handle critical tasks), how about this?Start button loads new page with questions.Page with questions writes time to a DB, contains an End button linking to a Finished page.Finish page compares current time to that in DB, displays result.Granted, load time for the Questions page will be included in the time total, but as long as your application isn't millisecond-crucial (and what web app is? ; ) I would think that this approach would work.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Need a better [elapsedtime] (Robert Wade 2000)
  2. Re: Need a better [elapsedtime] (Bob Minor 2000)
  3. Re: Need a better [elapsedtime] (Robert Wade 2000)
  4. Re: Need a better [elapsedtime] (Rob Marquardt 2000)
On 7/11/00 1:16 pm, Robert Wade so noted...>Does anyone have any idea how I might go about capturing the time that is >spanned >between two user actions on a single page? For example, if I have a >simple form with a >start button at the top, then a few questions and an end button at the >bottom, is >there any way to capture the amount of time (down to at least 60ths of a >second) >between clicking start and end? I haven't looked at JS for this yet >because I'm not >real hopeful to find an answer there. Applescript, maybe??Though I'm sure something could be done with JavaScript, if you're looking to avoid it (myself, I'm always loathe to have JS handle critical tasks), how about this?Start button loads new page with questions.Page with questions writes time to a DB, contains an End button linking to a Finished page.Finish page compares current time to that in DB, displays result.Granted, load time for the Questions page will be included in the time total, but as long as your application isn't millisecond-crucial (and what web app is? ; ) I would think that this approach would work.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Rob Marquardt

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

UPS problems (again) (2000) [WebDNA] WebMerchant again (2015) NT or Mac (1998) [WebDNA] search by range of dates (2009) Deleting Multiple Database Records based on Checkbox (1998) [SHOWIF AND/OR] (1997) synching databases on multiple servers (1997) ANSWER to: CC Merchant suggestions?? (1997) RE: Languages (1997) Sendmail & Time Issue (2001) founditems (1998) Document Contains No Data! (1997) Multiple Ad databases? (1997) setlineitem - price (2003) WebCat odd log behavior (1998) Targeted Redirect (1999) [searchString] (1997) WebDNA 6.0 Report (2004) Optional new-style syntax for WebCatalog 4.0 (2000) Execute Applescript (1997)