Matching questions: can you change the blue line color?

jleidel01
jleidel01 Community Member Posts: 2

I don't know how to change the width of the line but here is a tip from my book Lectora 201 - What They Don't Tell You In Class on how to change the color.



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 RGB colors for geeks). 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

 



Comments