QuizPort: Keypad order different hotpot/html

QuizPort: Keypad order different hotpot/html

autor Jeff Finnan -
Počet odpovědí: 13
Interestingly the order of the sub- and superscripts is different if a hotpot direct, jqz or jcl, file is used by QuizPort or the Hotpot generated html is used. The attached figure shows the order as input into keypad and the outcome of the two different files. I prefer, actually like the html ordering.

This is just an observation.

Later,
Jeff

PS. I really like the unicode now. To generate some Hotpots, I first converted a MS Word file I have that contains various types of ions with sub- and superscripts to unicode. It was fairly easy to use the find and replace indicating that sub- or superscripts were necessary when finding. Was a fairly easy task. This makes it easy to copy and then paste into a Hotpot. Having to rewrite something like Cr₂O₇²⁻ with all those subs and supers would be a real pain. Gordon, thanks again for showing me the way.
Příloha subdzhtml.jpg
Průměr hodnocení: -
V odpovědi na Jeff Finnan

Re: QuizPort: Keypad order different hotpot/html

autor Gordon Bateson -
Obrázek: Core developers Obrázek: Peer reviewers Obrázek: Plugin developers
Thanks for the feedback, Jeff !

I agree with you that the keypad in the Hot Potatoes html file is more human readable than the one that QuizPort creates from the jqz file.

There are several PHP sorting functions that we could use for the keypad. I will investigate ...

thanks
Gordon


V odpovědi na Gordon Bateson

Re: QuizPort: Keypad order different hotpot/html

autor Jeff Finnan -
<<<There are several PHP sorting functions that we could use for the keypad. I will investigate ...>>>

Maybe one of these days I will look under the hood of the hotpot files and customize to suit my purposes.
V odpovědi na Jeff Finnan

Re: QuizPort: Keypad order different hotpot/html

autor Gordon Bateson -
Obrázek: Core developers Obrázek: Peer reviewers Obrázek: Plugin developers
I have modified QuizPort to sort the subscript and superscript numbers in the keypad a little more sensibly. Please update when you have a moment, and let me know what you think.

thanks
Gordon
V odpovědi na Gordon Bateson

Re: QuizPort: Keypad order different hotpot/html

autor Jeff Finnan -
The JQuiz now looks like the html file.

Unicode question: Got any idea why some of the unicode characters are smaller than others, particularly super 4 ?



Příloha subdzhjuiz.jpg
V odpovědi na Jeff Finnan

Re: QuizPort: Keypad order different hotpot/html

autor Gordon Bateson -
Obrázek: Core developers Obrázek: Peer reviewers Obrázek: Plugin developers
Thanks for the screenshot.
Is that layout more useful for you?

There is something special about the superscript 4. As I remember there are two and one of them is not in the Lucia Sans Unicode font. I'll check up on that later.

Gordon
V odpovědi na Gordon Bateson

Re: QuizPort: Keypad order different hotpot/html

autor Gordon Bateson -
Obrázek: Core developers Obrázek: Peer reviewers Obrázek: Plugin developers

The thing about these subscripts and superscripts is that they do not exist in all fonts, so your PC will take them from whatever fonts it can find. Looks like your browser is mixing fonts.

I think you can force you browser to use the same font in all the keypad buttons, if you add the following code to the head of the document using JQuiz -> Configure Output -> Custom -> Code for insertion into <head> tag:

<style type="text/css">
div#CharacterKeypad button {
font-family: "Lucida Sans Unicode";
}
</style>

any better?
Gordon

V odpovědi na Gordon Bateson

Re: QuizPort: Keypad order different hotpot/html

autor Jeff Finnan -
Gordon,

The keypad squares are now all the same size. However, the inputs still have different sizes. In MS Word they are all the same size.

And yes all is useful so far. I would like to be able to just load the hotpot files rather than some yes and some as the generated html. Having the keypad boxes all the same size will raise less questions from the students. They might not notice a size difference in the superscripts since they will likely not have a situation where a super 4 and a super 5 are juxtaposed.

Thanks,
Jeff




Příloha subdzhjuiz.jpg
V odpovědi na Jeff Finnan

Re: QuizPort: Keypad order different hotpot/html

autor Gordon Bateson -
Obrázek: Core developers Obrázek: Peer reviewers Obrázek: Plugin developers

My goodness you like everything just perfect don't you - me too mrknout

To force the font on the input box, please modify the <style> tags I gave earlier to ....

<style type="text/css">
div#CharacterKeypad button, input.ShortAnswerBox, textarea.ShortAnswerBox {
font-family: "Lucida Sans Unicode";
}
</style>

You can go ahead and use the jqz files as the source file for the QuizPort quiz. That's what I have been doing while testing your quizzes.

regards
Gordon

V odpovědi na Gordon Bateson

Re: QuizPort: Keypad order different hotpot/html

autor Jeff Finnan -
<<<My goodness you like everything just perfect don't you>>>

Yeah, sorry. Kids are too easily confused with minute details that are not the same.

<<<To force the font on the input box, please modify the <style> tags I gave earlier to ....>>>

That does the trick in the html file. Hooray. Will check out through Quizport in a minute.

Just checked it out. It works in the native hotpot through Quizport.

Thanks much
V odpovědi na Jeff Finnan

Re: QuizPort: Keypad order different hotpot/html

autor Gordon Bateson -
Obrázek: Core developers Obrázek: Peer reviewers Obrázek: Plugin developers
Here's something you might like.

The attached file is a HP config file. If you use this as a "Configuration" file for your QuizPort quizzes, then they will all use the same unicode font and you won't have to go in and modify each JQuiz individually.

Once you have got the hang of using config files to standardize the color, layout and behavior of your HP exercises delivered via QuizPort, you will be able make wholesale changes to your site easily, quickly and accurately.

Then things will really be perfect!
Gordon
V odpovědi na Gordon Bateson

Re: QuizPort: Keypad order different hotpot/html

autor Jeff Finnan -
Gordon,

I had already figured out how to make some custom configuration files. I have one that I call unicodecolor.cfg. I looked at yours. It does not have the custom header code which I have incorporated into mine. At first I thought that you may have some under-the-hood file modifications that incorporated it. However, when I tried unicode.font.cfg, I got the different sized superscripts again.

Thanks,
Jeff

V odpovědi na Gordon Bateson

Re: QuizPort: Keypad order different hotpot/html

autor Jeff Finnan -
<<< My goodness you like everything just perfect don't you - me too wink

To force the font on the input box, please modify the <style> tags I gave earlier to ....

<style type="text/css">
div#CharacterKeypad button, input.ShortAnswerBox, textarea.ShortAnswerBox {
font-family: "Lucida Sans Unicode";
}
</style> >>>

Hi Gordon,

Despite my fastidiousness and your effects, we were undone by IE 7.

When I was testing all this out I was home during the holiday break. There I use Firefox and IE 8 with which the code above does the trick. The school computers have IE 7. In that browser they keypad boxes are uneven as shown several posts above. But what counts is that there was nary a complaint about it from the students. The important thing is that keypad worked perfectly.

I put in a request to have the notebooks upgraded to IE 8, but got back that it was not district standard. I can put it on my desktop at school even though I am not supposed to. However, the notebooks are set to strip out anything added on shutdown or reboot.

Oh well. Such is life.

Thanks,

Jeff

PS. As you mentioned over in the hotpotatoesuser forum "Only IE does things differently."