0

Ive been tearing my hair out over this one. Im using Dean Edwards' IE9.js to make IE6 less of a nightmare. This is in my <head>

<!--[if lt IE 7]>
    <link rel="stylesheet" href="/css/ie6.css" type="text/css" media="screen">
<![endif]-->

<!--[if lt IE 9]>
    <script type="text/javascript" src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->

Then, i open an IE6 instance in IETester and get:

An error has occured on a script in this page: Line: 7 Char: 28214 Error: Invalid Argument

Removing the IE9.JS removes this error (but breaks a lot more on the site). Any ideas? The site is here: ryanballard.tk

Thank you

7
  • looks like an error in the included code - did you try to contact the author directly? Commented Dec 14, 2011 at 14:28
  • The odd thing is, if i go to Dean Edward's site (where iE9.js is included), it works find my end leaving me to think its an error in my page (somewhere?!) Commented Dec 14, 2011 at 14:29
  • Why does the URL explicitly include "ie7-js" in it, I wonder? Anyway it could easily be that something the script is trying to do fails because you've got some CSS it doesn't expect or understand, or that's actually not valid. Commented Dec 14, 2011 at 14:31
  • IE6, the dark ages - we buried support for that version a long time ago, any chance you can push back on supporting that version? webmasters.stackexchange.com/questions/134/… Commented Dec 14, 2011 at 14:31
  • 2
    It might be an issue with font: inherit. Take a look at this and see if the workaround helps: code.google.com/p/ie7-js/issues/detail?id=307 Commented Dec 14, 2011 at 14:38

1 Answer 1

2

Apparently, it's an issue with font: inherit. See the workaround here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.