I am using Dean Edwards' IE7.js for IE6
<!--[if lt IE 7]> <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script> <![endif]-->
and get a JavaScript error in IE 6 when reading a line:
c.runtimeStyle[h]=c.parentElement.currentStyle[h]
How can i solve this?
I do not believe IE6 has a parentElement property. Perhaps you can work around this by including this code in the <!--[if lt ie7]> :
<!--[if lt ie7]>
Element.prototype.parentElement = Element.prototype.parentNode;
Source: https://habr.com/ru/post/885691/More articles:How can I click JButton without a user? - javaIs there a jQuery version of IE7.js available? - javascriptMbUnit Icarus will self-destruct on this test - multithreadingR sometimes does not save my story - rAn elegant way to count the number of negative elements in a vector? - rSplitting plugins into multiple files - scalaHow do static constructors work for generic types? - compiler-constructionAmazon S3 link expiration at boot time? - amazon-s3How to make OptionMenu maintain the same width? - pythonOptimal block size in Java streams - javaAll Articles