Skip to content
Discussion options

You must be logged in to vote

Hi Nega,

I think the simplest way to do this with the current set of plugins is to use the html-slider-response plugin and make your stimulus two images that are aligned to the left and right of the page. Something like this:

var trait_question = {
	type: 'html-slider-response',
	stimulus: `<div style="width:800px; height: 200px; position: relative;">
				<img src="leftSideImage.png" style="height:200px; left:0px; position: absolute;"></img>
				<img src="rightSideImage.png" style="height:200px; right:0px; position: absolute;"></img>
			</div>`,
	slider_width: 800
}

You could use the other parameters of the slider-response plugin to control things like how many unique steps there are in t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nega100
Comment options

Answer selected by Nega100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants