blob: 725277a680bac5420e5da9132979be5a0a7bf505 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" type="text/css" href="svg-image-util.css" />
<script src="svg-image-util.js"></script>
</head>
<body style="width: 600px"><!-- width for pct vals to resolve against -->
<script>
var svgParams = {
viewBox: null,
width : "10%",
height : "30px",
meetOrSlice: "slice"
};
appendSVGArrayWithParams(svgParams, "img");
</script>
<!-- Body gets populated by script -->
</body>
</html>
|