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:

removelineitems (2000) [WebDNA] writing pdfs on the fly (Avery labels #5160) (2010) More on the email templates (1997) Upload (1998) [OT] Communigate List (2003) Problem (1997) [ShowNext] (1997) Users.db (1998) Netscape v. IE (1997) Nested tags count question (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Tab Charactor (1997) taxRate is fine but taxTotal isn't (1997) WebCat for mass emailings (1997) Re2: frames & carts (1997) Displaying backgrounds (1999) Trigger Validation Text Broken (2003) Webmerchant quitting (1998) OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998) RE: path hierarchy notation (1998)