I can replicate it with IE 9. If you have a different browser installed (or an earlier version of IE even) it should behave properly. It looks like the javascript code was written before IE 9 came out and contains some code branches that do special things for IE (because IE used to require such special cases). They got better with IE 9 which unfortunately means that the special stuff you used to have to do now breaks the correctly-working IE 9.
For the site programmer(s):
The error is INVALID_CHARACTER_ERR (5) in tcg.js line 8346, specifically this part:
/* Element creation */
var createElement = (function() {
...
var element = document.createElement(tagParts.join("")); <-- line 8346
IE9 changed the way createElement works so it can no longer take a full html tag with all the params. You have to just give it the base element and then call setAttribute for each attribute. Presumably the code to handle non-IE browsers (lines 8358-8366) should work with IE 9 (or be similar to what will work).
http://stackoverflow.com/questions/5344
ion-in-ie9
http://msdn.microsoft.com/en-us/library
s.85).aspx
I'm not sure if this was part of Prototype 1.6.1 or is custom code. If it is the former it seems there is a newer version 1.7 of Prototype.
Last edited by preypacer (2011-08-28 06:12:43)