Replies: 1 comment
-
Found a few things I was doing wrong. Maybe this will help others. First, specify where the image is to occur in normal orientation and create a value for which is the correct choice. The target and distractor values here are simply passed through to make data collection/viewing easier.
Second, at the top specify the button HTML with a variable name enclosed by percent symbols.
Third, put the images into the choices array (not in button_html).
This wrapper allows setting up the L/R orientation and a few other things before going to the main_trial which does the work.
|
Beta Was this translation helpful? Give feedback.
-
I am trying to hold the orientation (L/R) in a trial_info.js include along with the other variables. Then use that variable to decide if the buttons need to be flipped left/right.
trail_info.js segment:
Main file creates two arrays for the orientations
A wrapper for the variables has the conditional function. (1 == 1) will be replaced later with target_direction logic.
I don't think I am using the functions properly.
Beta Was this translation helpful? Give feedback.
All reactions