Skip to content
Discussion options

You must be logged in to vote

Hi @jelkastojanov, just to expand a bit on Josh's answer: you could use the html-button-response plugin to give your image a unique ID:

var squareTrial = {
    type: 'html-button-response',
    prompt:'<div class="text-above-image"> In the first part of the study, you were assigned to the SQUARE group.<br> Please acknowledge your group membership before proceeding.</div>',
    stimulus: '<img src = "assets/images/Square_group.png" id = "squareImage" />',
    choices: ['I acknowledge that I am a member of the SQUARE group.']
}; 

And then you should be able to use that image ID in your CSS selector.
As far as getting a responsive CSS solution to the image size, one option might be to use a …

Replies: 2 comments 2 replies

Comment options

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

Comment options

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

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