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 MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
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 MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
waitforfile then redirect (2001)
Webcat 4.0.1b2 on ftp - what does it fix? (2000)
grep question - how to strip spaces from the beginning ofa string? (2002)
Plugin causes type 2 error on WebStar startup (2000)
CommandSecurity? (1997)
Mac app. that converts e-mails (2000)
Requiring that certain fields be completed (1997)
IIS error and webcat (2000)
Web Catalog vs. ICAT (1997)
BUG REPORT: numeric ge, le, gr & ls comparisons don't work (1999)
webcat license???? (1997)
Math, Multiple Equasions and Show/Hide (1998)
WebCat2b12plugin - [search] is broken ... not! (1997)
Snake Bites (1997)
Emailer again & again (1997)
About Include (2001)
OT: Need some feedback, please. (2003)
Pithy questions on webcommerce & siteedit (1997)
RE: Template not found error messages (1997)
List Name Change (2002)