URL of experiment: Sign in · GitLab
Description of the problem:
I’m using Webgazer to measure participants’ eye movements.
I have moved the webcam to the top centre of the screen by setting the “leftDist” variable on line 88231 of file “webgazer-2.0.1.tp.js” to
leftDist = ((window.screen.width / 2)-(src_webgazer.params.videoViewerWidth/2)) + 'px';
I now want to move the feedback box to that same position.
I have tried adding the following lines of code:
faceFeedbackBox.style.top = topDist; faceFeedbackBox.style.left = leftDist;
to lines 88283 and 88284.
However, this doesn’t work, see image below.
What do I need to do here?
Thank you in advance!