Group: Forum Members
Posts: 9,
Visits: 213
|
Follow-up question: Adding the <html> tags worked as intended, but it seems the text element no longer respects the /size specifications when I use these tags.
In the following example, the first text element correctly wraps to fit within the screen, but the second text element gets cut off on the left side.
<defaults> / windowsize = (1200px,800px) </defaults>
<text example_text> / items = ("Welcome to the study!
In this study, you will have the chance to <b>earn up to $4 in bonus money</b>, on top of your base payment. We will explain how in these instructions.") / position = (50%,20%) / size = (70%, 20%) </text>
<text example_text_html> / items = ("<html>Welcome to the study! <br><br> In this study, you will have the chance to <b>earn up to $4 in bonus money</b>, on top of your base payment. We will explain how in these instructions.</html>") / position = (50%,50%) / size = (70%, 20%) </text>
<trial test> / stimulusframes = [1=example_text; 2=example_text_html] / validresponse = (" ") </trial>
|