IE: Sucking Hard Since Version 5
This code (extracted from a javascript file) works in every major browser except IE (including IE8):
$('a[rel*=fancybox]').fancybox({ 'frameWidth' : 500, 'frameHeight' : 465, 'hideOnContentClick' : false, 'centerOnScroll' : true, });
This is the fix:
$('a[rel*=fancybox]').fancybox({ 'frameWidth' : 500, 'frameHeight' : 465, 'hideOnContentClick' : false, 'centerOnScroll' : true });
See the difference? Yeah, neither did I. The difference is the last comma in the argument list.
That’s 3 consecutive major versions of IE that have been absolutely crap. Why anyone continues to use IE is beyond me. IE: sucking hard since version 5.
If you liked this post, you might like these:
-
Evert Mouw
-
Lawrence
-
David
-
Adam S
-
James Parker
-
David
-
Tekk Noir


