13 Jan 2003 forrest   » (Journeyer)

I made a new release of Hanzi Quiz today.

Most of the work I put into it was getting it to work on Mac IE5. This thread shows what I went through to get a dynamically-generated select box which works on Moz, Win IE5+ and Mac IE5. I'm wondering what, if any, Javascript bugs I should submit to the Mozilla project from this. I'm happy I found something that works, but I'm clueless as to what is or isn't "supposed to" work.

I also modified the code so it remembers the answers to recently-asked questions and doesn't present them as choices in subsequent questions. Besides having more quiz data (which I hope someone else will do), this is the only request I've received.

My implementation of that feature was broken on Mac IE as well. I finally discovered that Mac IE Javascript arrays don't implement the "splice" method -- and trying to call it didn't generate an error; it just caused the browser to hang. I rolled my own.

I have to keep calling friends of mine with Macs -- "can you check it?" -- what a pain. There's still a problem rendering one of the pinyin accent marks in Mac IE, and those characters just show up as boxes. I assumed there must be a font install to fix this and rolled on with the release.

A friend of mine checked it in Safari and the question and all of the choices are blank. The (empty) choice buttons are rendered fine and work, though -- you just don't know what you're choosing. Sounds like another browser adventure I'll save for another day. If I'm lucky, they'll fix their code before I get around to trying to "fix" mine for their browser.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!