text box width in cloze quiz

text box width in cloze quiz

por Chip Wiegand -
Número de respostas: 2
Is there a way to adjust the individual text box sizes within a cloze quiz? I found the setting for the overall width of all text boxes, but would like to adjust just certain text boxes, not all of them.


Em resposta a 'Chip Wiegand'

Re: text box width in cloze quiz

por Gordon Bateson -
Foto de Core developers Foto de Peer reviewers Foto de Plugin developers

As far as I know, the HP interface does not offer the granular level of control over the appearance that you seek. To achieve your goals you'll need to put on your programmers hat.

One way you could adjust the size of individual text boxes would be to generate an html file for the Hot Potatoes quiz and then adjust the CSS styles on the individual text boxes to make them the size you want. Then, upload the HTML file to use as the source file for a HotPot/TaskChain activity.

Another way, would be to use the jcl file as the source file for the HotPot/TaskChain activity, but then specify a configuration file that includes the CSS styles you want. The advantage of this method is that you don't need to regenerate the HTML and manually edit it every time you make an adjustment to the quiz. Also, you may well be able to use the configuration file on several HP quizzes.

Both of these methods require a working knowledge of HTML and CSS, and as such may be considered too "technical" by some teachers to make them suitable solutions.

Em resposta a 'Gordon Bateson'

Re: text box width in cloze quiz

por Chip Wiegand -
Thank you, I will look into the options you mentioned. Using html and css is what I do every day, and in moodle I am relegated to using, ugh, inline css. (the css in the header section, and the entire header section, get stripped out by moodle.)
Thanks,
Chip