two slider HTML-response plugin (with option to show slider number as slider moves) #2940
samanthareisman
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
This is great @samanthareisman! Feel free to contribute this to jspsych-contrib! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I wanted to share this plugin I made: https://github.com/samanthareisman/jsPsych-plugins/blob/main/plugin-html-2slider-response.js
It allows you to include two sliders for an HTML stimulus (with separate options for
min
,max
,labels
,steps
,width
,slider_start
,prompt
). In addition, there is an added parameter for each slider calledslider_number
&slider_number2
that when set totrue
(default: false
) will display the slider number and change as the slider moves around.(You can also find a similar plugin but for a canvas stimulus here: https://github.com/samanthareisman/jsPsych-plugins)
Special thanks to @gorkang and Discussion #1147 for the code that allows for the dynamic slider number display!
Beta Was this translation helpful? Give feedback.
All reactions