Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] Multicolored text in a single line

edited July 2012 in OpenSesame

Hi Sebastiaan,

I'm trying to design an experiment where participants read a paragraph of text with different words highlighted in different colors, like so:

"Elena es una artista. Le encanta el arte y colecciona los dibujos de flores y las pinturas de paisajes."

The problem is that I'm not able to change the color of just one word in a line without changing everything the color of all of the words, or creating a new line. While using a screenshot of the text is an option, I'd prefer to work with just text and markup if possible. Would this be possible with some scripting? I tried using html.HTML() in a custom script with the marked-up text, but none of the colors were displayed.

Thanks for all of your support!

Comments

Sign In or Register to comment.