Change the color of Matching Pairs

Tim Verrelli of Trivantis posted this sometime back. I have it in my book Lectora 201, What They Don't Tell You In Class available on my web site.


1. How to Change the Color of the Lines in a Matching Question


They are always blue unless you are on a blue background (then they are white). The matching lines are actually created (in HTML) by creating a layer that contains a whole bunch of little images. The images in question are GIF files (named either o_0000ff.gif or o_ffffff.gif). The first one is blue and the second one white (the file names are their colors). So, to make a long story short, if you want to change ALL of your matching questions to a different color, just create your own o_0000ff.gif (use the one Trivantis supplies and don't resize it) and place it in the published html/images folder. One other thing, you will need to edit the trivantis-match.js and change the definition of line Color to the color you want for the line, otherwise the box that appears around the selection will still be "blue".


Thanks to Tim Verrelli, Trivantis


 

Discussions have been disabled for this post