Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 831 Bytes

File metadata and controls

15 lines (10 loc) · 831 Bytes

jsPsych html-slider-response but without the starting position

The code is the jsPsych slider-response plugin but the response marker appears only after clicking on the slider. Lack of the marker's starting position allows to avoid anchoring effect caused by the initial position. This option can by turned on or off by manipulating the parameter show_slider_start: true to show the starting position and false to hide it.

Link to the description of the original plugin: https://www.jspsych.org/7.0/plugins/html-slider-response/

Use it just like a normal jsPsych plugins, but remember to refer to the files in your HTML head:

 <script src="plugin-html-slider-response-nostart.js"></script>
 <link href="jspsych_extra.css" rel="stylesheet" type="text/css" />

Tested on jsPsych 7.1.2 and jsPsych 7.3