Skip to content
Discussion options

You must be logged in to vote

Hi @kburkin,
I'm not sure, but I think the problem with your plugin code is that in this part:

html += '<div class="jspsych-odd-one-out-button" style="display:block; position:fixed; width:13vw; left:calc(90vw - 8.5vw); bottom:0; margin:2vw" id="skip-button" data-choice="unsure"><button class="jspsych-btn" style="visibility:hidden;" onclick=bloop.play()>'+"I don't know >"+'</button></div>';
display_element.innerHTML = html;

the last line above is removing some content that had been added to the page already. One confusing thing about the image-* plugins is that the content is added to the page in two different ways, depending on whether render_on_canvas is true or false. If it's true (the …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kburkin
Comment options

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

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