I’m working on an exp. with embedded html pages using iframe, based on
(much much thx for the two great posts)
The task is to check the html page out and then click a button on the same page (also implemented with html).
One of the dependent var. is the rt (from onload of the html page til the click of the button).
I’ve googled for a while but I did not find any docu. regarding the timing of this iframe embedding method in psychojs.
It would be really nice if someone with more expertise in psychojs timing could tell me,
if the iframe embedding would have any influence on the timing using psychojs functions?
Specifically, using globalClock.getTime() on the html body and alike.
I’d also like to know, is there a difference in the timing between the psychojs functions and JS functions, for example, new Date().getTime() ?
(any other more reliable ways to create timestamps with JS are also willcome!)
Would it be better if I use JS functions in embedded html to measure rt instead of psychojs functions?