Reply To: How to make keypress add a CSS class to text

PennController for IBEX Forums Support How to make keypress add a CSS class to text Reply To: How to make keypress add a CSS class to text

#10612
Larissa_Cury
Participant

To illustrate it:

# Suppose >< represents a CSS border class to highlight the words:

1) Display n columns of words on the screen at the same time as the words are displayed in the csv file
2) Highlight the first word (I thought of a CSS class to do it)
3) When participant hits spacebar, the highlight goes to the next word below

>Jason< Raheema Chassity
Oscar Bryce Carlito
Maleeka Nasreen Maureene
Janet Hishaam Chidiebere

PRESS SPACEBAR:

Jason Raheema Chassity
>Oscar< Bryce Carlito
Maleeka Nasreen Maureene
Janet Hishaam Chidiebere

4) When the participants finishes the columns, the highlight class moves up to the first word of the next column

Jason Raheema Chassity
Oscar Bryce Carlito
Maleeka Nasreen Maureene
>Janet< Hishaam Chidiebere

PRESS SPACEBAR

Jason >Raheema< Chassity
Oscar Bryce Carlito
Maleeka Nasreen Maureene
Janet Hishaam Chidiebere