Being one of the zillion programmers jumping into rough waters of XML, XSLT and AJAX (combined with ASP back-end) I had my own share of "reinventing the wheel" experience. Hopefully by documenting some of these reinventions, I'll save you a few minutes of hair-pulling.
IE7 bug: addEventListener does not work with table row mouseover event
If you want to implement your JavaScript code using DOM-compliant events, you'd be unpleasantly surprised to learn that table rows in Internet Explorer do not respond to mouseover events attached to them with addEventListener. Firefox and Opera work as expected. The only way to achieve cross-browser compatibility is to use the old onmouseover properties: tablerow.onmouseover = myfunc; instead of tablerow.addEventListener("mouseover",myfunc).
Anonymous
No comments:
Post a Comment