CSS3Pie causing startup error
问题 When importing CSS3Pie, I'm getting the following error. Uncaught TypeError: Object [object DOMWindow] has no method 'attachEvent' I am using Chrome. Is this possibly something I have caused, or just a bug. Thanks! 回答1: I think you should be importing the "PIE.js" file in an IE-only conditional comment: <!--[if IE]> <script src='PIE.js'></script> <![endif]--> The CSS3Pie project is an Internet Explorer facility - it only works on IE, and is completely useless for all other browsers. edit —