Switch out vector images for IE7/8
I am currently working on a site for a client and am trying to make the
site function in IE7/8. I've implemented a script to adapt HTML5 for them,
but I've run into another problem: I'm using Vector images (.SVGs) for
some logos and social icons, which cause both IE7 and IE8 to hang on page
load. So my question is, is it possible to use some sort of conditional
statement to have IE7/8 load, say, a .jpg version of the vectors so it
loads the page properly?
Here's what most of these vector images look like in the code:
<img src="images/logo.svg" alt="-Company Name-">
Any help would be greatly appreciated.
Ryan
No comments:
Post a Comment