Hi Dimitar,
I apologize for posting a portion of the source code — that was certainly an oversight on my part. I would gladly edit out the offending bits, but the forum apparently will not let me edit my previous posts. Is there a better location to submit bugs?
Regarding IE8, I agree that the demos work fine. However, if you add an element with an id attribute set to “mid” on your page (e.g.: <div id=”mid”></div>”), you can reproduce the error. IE is reserving element id values in the global JavaScript namespace and your undeclared mid variable is finding that object reference.
I have also verified that this bug happens in IE9 as well.
Thanks,
Andrew