I want to fix the color about particular text.


Author
Message
Sato
Sato
Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)
Group: Forum Members
Posts: 25, Visits: 126
Thank you so much!
Your instruction is very smart!
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: 104K
Yes, that's possible. You do

<values>
...
/ picturetoshow = 1
...
</values>

<picture myinstructionspicture>
/ items = ("Pictureforgroup1.png", "Pictureforgroup2.png")
/ select = values.picturetoshow
...
</picture>


with

<expt>
/ onexptbegin = [values.picturetoshow=1; ...]
/ subjects = (1 of 2)
...
</expt>

<expt>
/ onexptbegin = [values.picturetoshow=2; ...]
/ subjects = (2 of 2)
...
</expt>
Sato
Sato
Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)
Group: Forum Members
Posts: 25, Visits: 126
Thanks!

> It is *not* possible to "embed" images in a <text> element.
I understand.

Is it possible that I present different picture for two condition (A group or B group)?
On the other words, A group see one instruction "pull-blue, push-red", and B group see another "pull-red, push-blue".

I think that it can set in <expt>. 
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: 104K
What you can do is use an image file to display your instructions. E.g.:

https://www.millisecond.com/forums/uploads/images/a9ee48c0-5c22-4604-b9c3-1645.png

with
<picture myinstructionspicture>
/ items = ("Instructions1.png")
...
</picture>

<trial instructionstrial>
/ stimulusframes = [1=myinstructionspicture]
...
</trial>

etc.


It is *not* possible to "embed" images in a <text> element.


Hope this helps.

Sato
Sato
Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)
Group: Forum Members
Posts: 25, Visits: 126
Thanks for your comment!
I see.

For example, is it possible that using image file (it is color text) instead texts?

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: 104K
This isn't possible. The text color is determined by the /txcolor attribute of the <text> element that displays the <item>. A <text> element can only have one color.

Sato
Sato
Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)
Group: Forum Members
Posts: 25, Visits: 126
I have a question.

Now, I want to present instructions for 2 condition.
I wrote following script.

<expt >
/ onexptbegin = [values.expcondition = 1]
/ onexptbegin = [values.format1 = "青色"; values.format2 = "黄色"]
/ subjects = (1 of 2)
......
......
</expt>

<expt >
/ onexptbegin = [values.expcondition = 2]
/ onexptbegin = [values.format2 = "青色"; values.format1 = "黄色"]
/ subjects = (2 of 2)
......
......
</expt>

<item instructions>
/1 ="以下の課題は、横か縦どちらかの画像で呈示されます。
~n~n これからしていただく課題では:
~n* もし <%values.format1%> の枠線で囲まれた写真が提示されたらレバーを引いてください。
~n * もし <%values.format2%> の枠線で囲まれた写真が提示されたらレバーを押してください。
</item>

My plan is that I make format1 = blue, and format2 = yellow.
I want to know the script.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search