Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Interactive Slider in OSWeb

Hello!

I am struggling to create a slider that shows and alters the current selected value while moving it in OSWeb. It should also be possible to log this value after the participants confirmed their decision.

Since I think I have to do this in JavaScript, I found some very cool codes for sliders. However, I only manage to recreate the html part with the inline_html script. The JavaScript part in the script tag (see screenshot) does not work. Also not if i put it in the inline_javascript item. Resulting in no changing values.

My first question is: Is it possible to combine inline_html and inline_javascript and is this even the right approach for my purpose? Or do you may suggest another solution?



Second: In Python I programmed this slider with the PsychoPy package in OpenSesame which perfectly fitted my needs. Is something similar like the PsychoPy visuals possible in OSWeb/ in JavaScript in OpenSesame? If yes, I would be super happy for some tips.

Thank you so much!!

Kind regards,

Kai

Comments

Sign In or Register to comment.