I’m currently developing a jQuery Plugin called Sudo Slider. (http://webbies.dk/SudoSlider/)
While developing it, I just assumed that IE6 would continue to work (it stopped working in IE6 somewhere between version 2.0.1 and 2.0.8).
And now IE6 reports a bug that I just can’t find.
See the bug here: http://webbies.dk/SudoSlider/assets/files/SudoSlider/bug/
Hard to describe, but apparently IE6 thinks that it needs an extra bracket.
Call me a lazy developer or whatever for not checking IE6 all the time, but this project is something I do for free. And since IE6 tends to give me a headache, I tend not to open it (not when i do a paid project though).
Okay i fixed it now, but i still have no idea how it happened.
I replaced the:
With exactly the same, i just rewrote the
if(..)Then i replaced a
if(t<0)withif(t < 1-1)// Yes, i’m serious.Then the i replaced
With
So somehow a misalignment of the brackets made the script crash in IE6.
You can see the fixed version here:
http://webbies.dk/SudoSlider/assets/files/SudoSlider/bug/fixed/
I just don’t get IE6.