mouse wheel to scroll through images, click to select specific image


Author
Message
bmatt
bmatt
Partner Member (889 reputation)Partner Member (889 reputation)Partner Member (889 reputation)Partner Member (889 reputation)Partner Member (889 reputation)Partner Member (889 reputation)Partner Member (889 reputation)Partner Member (889 reputation)Partner Member (889 reputation)
Group: Forum Members
Posts: 7, Visits: 57
I am wanting to have participants scroll through a set of images with the mouse wheel, such that the set begins with one image and scrolling up will progress through the set in a sequential order whereas scrolling down will progress in the reverse order (importantly, I only want participants to see one image at a time).  Participants would be choosing only one image as their response by clicking on the image.  Is there a way to do this?

Thanks in advance.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
No, this isn't possible with a mousewheel-response. There isn't any way to distinguish between moving the wheel "up" or "down". The only thing you can do is to cycle through the stimuli via wheel movement as in:

<block myblock>
/ stop = [trial.mytrial.response=="lbuttondown"]
/ trials = [1=mytrial]
</block>

<trial mytrial>
/ stimulusframes = [1=mytext]
/ validresponse = (lbuttondown, mousewheel)
/ inputdevice = mouse
/ branch = [trial.mytrial]
</trial>

<text mytext>
/ items = ("A", "B", "C", "D")
/ select = sequence
</text>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search