Closed GoogleCodeExporter closed 9 years ago
Any bug report that does not use an original browser software configuration
(emulated
software, inlcuding software like multiple IE, is not reliable for testing
purposes)
is invalid. So unless you can come up with an original OS + original browser
setup,
we will not consider the report.
SWFObject only runs if a browser supports the W3C DOM, e.g. it checks for the
availability of document.getElementById, document.getElementsByTagName and
document.createElement, of which IE4 should support none (it had doument.all
implemented as its main DOM accessor), so it should not run in IE4 and always
show
alternative content.
If you would need to support IE4 as a web author, you could additioanlly
specify the
JavaScript version in your script tag, so a possible old browser will not
interpret
newer code.
But why should you? IE4 is dead and has been buried a long time ago, why dig up
a
dead body?
Original comment by bobbyvandersluis
on 9 Jul 2008 at 8:57
It really chokes on try... catch block. SYNTAX ERROR, so the script in fact
never
executes (to check for document.* availabilities).
I'm working on some kind of and ad-server, using swfobject to embed flash
banners.
I'm not crazy to support IE4 and I don't mind if the users won't see our ads. I
just
don't want anyone with ANY browser getting script syntax errors displayed
because of
my code.
I will make my own workarounds then.
Original comment by mailtomu...@gmail.com
on 9 Jul 2008 at 11:16
IE5 includes JScript version 5.0 which is equivalent to JavaScript version 1.4,
so
when you use the language attribute of the scipt tag to match version 1.4, IE4
should
not interpret the script at all anymore. Just note that the language attribute
has
been deprecated since HTML4 and is not supported in XHTML 1.0 Strict DTD.
Original comment by bobbyvandersluis
on 9 Jul 2008 at 12:31
Original issue reported on code.google.com by
mailtomu...@gmail.com
on 8 Jul 2008 at 11:03