Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (31 sloc) 1.014 kB
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<title>SVG Swap</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script src="svgswap.jquery.js"></script>
<script>
$(document).ready(function(){
$(".svgswap").svgswap();
});
</script>
</head>
<body>
<header>
<h1>SVG Swap</h1>
<h2>A simple jQuery plugin for swapping SVG image with a raster image for older IE versions.
</header>
<div role="main">
<p>McDonald's logo means SVG. IE logo means IE 8 or less. <p>
<div>
<img src="example.svg" data-svgswap="example.png" class="svgswap">
</div>
</div>
<footer>
<p>Built by <a href="http://twitter.com/teleject">Christopher Schmitt</a>.</p>
</footer>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.