exporl / apex

APEX 4: software platform for auditory behavioural and psychophysical experiments. This repository follows the major releases of APEX.
http://kuleuven.be/exporl/apex/
Other
10 stars 1 forks source link

apex htmlscreen #255

Closed anneliesdevesse closed 5 years ago

anneliesdevesse commented 5 years ago

In my avatar experiments, I use an html answerscreen to enter the answers after every trial (i.e. ticking boxes). When I use a new apex version to run my experiments, the answerscreen does not work properly anymore (no more boxes appear). What adjustments should I make to make it work again?

old (working) version of apex: 3.1 (d741b3) new version of apex: 4.0.0 (995b43)

I've tried next option already:

This slightly improved the functionality of the answer screen (some boxes re-appeared), but it is still not entirely functional (e.g. second trial is not initiated after submitting answer)

Attached, you can find the html script of the avatar answer screen

avatar_answerscreen.zip

anneliesdevesse commented 5 years ago

Update - issue solved

Problem: js files defined in html file do not match the js files in apex folder (to be found in apex installation folder/resultsviewer/external) More specifically: more js files were defined in html file than were available in the apex folder Solution: restrict js files in html code to js files that are available in apex folder (instead of adding js files to apex folder)

E.g. js files of new apex version, to be found in: C:\AVATAR\APEX\apex 4.0.0\release-installed\resultsviewer\external:

Necessary code in html file:

Note: highcharts-custom.js and jquery-3.1.1.min.js do not need to be specified in html code to make experiment work