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:

method of payment (1997) Field name-subcategory (1997) Forwarding Orders Via Email (1998) Search/sort in URL Was: GuestBook example (1997) Use of Back and Reload Buttons on ShoppingCart page? (1997) showif with math? (2000) authorize.net CC processing (was WC on Mac OS X or Mac OS (2001) Does [Sendmail] create html? (2002) Snippet to calculate local time (2003) Generating Report Totals (1997) [WebDNA] An apache config file that works? (2013) Linux ODBC and the ODBC Bridge (2000) shownext problems (1998) sendmail (2005) WebCatalog vs. Cold Fusion (1998) Cart questions (1997) [WebDNA] need to contact Greg Scott (2010) Webcat 3.0.5b9, b8 trigger failures ON WEBSTAR (1999) Shorthand for command args (1998) LookUp Tag (1997)