the United States of SVG
Wednesday, January 17, 2007 11:53:03 PM
You can now test your knowledge of the United States of America!
This new page uses the exact same code that I used for the world countries page detailed in my last post. All I've done is change the data, the code for choosing random states, highlighting, keeping score etc. is pretty much identical.
Update 21/01/2007:
Thanks to help from Jeff we are now fully functional in IE+ASV as well!
We also have a much smaller Compressed svgz file of the game as well.
This new page uses the exact same code that I used for the world countries page detailed in my last post. All I've done is change the data, the code for choosing random states, highlighting, keeping score etc. is pretty much identical.
Update 21/01/2007:
Thanks to help from Jeff we are now fully functional in IE+ASV as well!
We also have a much smaller Compressed svgz file of the game as well.

Jeff Schillerjeffschiller # Friday, January 19, 2007 12:07:11 AM
Tim AltmanJunyor # Sunday, January 21, 2007 11:36:41 PM
orinoco # Monday, January 22, 2007 8:29:57 AM
Nicholas Shanksnickshanks # Tuesday, March 13, 2007 11:24:17 AM
Problems are as follows:
1) I can't select Texas in Safari, it neither highlights nor accepts clicks. Looking at the source code I don't see a problem, perhaps it's a bug in Safari, however since everything else works I assumed there was a typo in the SVG. I doubt it's some kind of overflow since Michigan works and has more points in its path.
2) I noticed Colorado doesn't close up it's path with a z (and it's first and last points don't match).
3) You are not setting the Transfer-Encoding of the svgz, so it doesn't get decoded, and the browser tries to handle "�#!�E
orinoco # Wednesday, March 14, 2007 6:57:05 PM
2) Fixed.
3) This is an issue with the MyOpera community & is not something I can fix myself. I did post a message about this in the forums a while back & I belive it's on the todo list.
Dan Alexandrudantesoft # Sunday, March 18, 2007 10:11:44 PM
Yes, I meant this comment for the world svg