Update not supported page (#230)

Update old links.  Remove now-defunct link to Chrome Frame.  Use CSS instead of JavaScript and jQuery.
master
Neil Fraser 2018-05-17 11:29:20 -07:00 committed by Jeff Schiller
parent 4fd4054f03
commit 1c966d17ed
2 changed files with 41 additions and 32 deletions

View File

@ -1,32 +1,47 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8" /> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1"/> <meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<link rel="icon" type="image/png" href="images/logo.png"/> <link rel="icon" type="image/png" href="images/logo.png"/>
<link rel="stylesheet" href="svg-editor.css"/> <link rel="stylesheet" href="svg-editor.css" type="text/css"/>
<script src="jquery.js"></script>
<title>Browser does not support SVG | SVG-edit</title> <title>Browser does not support SVG | SVG-edit</title>
</head> <style>
<body> body {
margin: 0;
overflow: hidden;
}
p {
font-size: 0.8em;
font-family: Verdana, Helvetica, Arial;
color: #000;
padding: 8px;
margin: 0;
}
#logo {
float: left;
padding: 10px;
}
#caniuse {
position: absolute;
top: 7em;
bottom: 0;
width: 100%;
}
#caniuse>iframe {
height: 100%;
width: 100%;
}
</style>
</head>
<body>
<div id="browser-not-supported"> <img id="logo" src="images/logo.png" width="48" height="48" alt="SVG-edit logo" />
<img style="float:left;padding:10px;" src="images/logo.png" <p>Sorry, but your browser does not support SVG. Below is a list of alternate browsers and versions that support SVG and SVG-edit (from <a href="https://caniuse.com/#feat=svg-html5">caniuse.com</a>).</p>
width="48" height="48" alt="SVG-edit logo" /><br /> <p>Try the latest version of <a href="https://www.getfirefox.com">Firefox</a>, <a href="https://www.google.com/chrome/">Chrome</a>, <a href="https://www.apple.com/safari/">Safari</a>, <a href="https://www.opera.com/download">Opera</a> or <a href="http://windows.microsoft.com/ie9">Internet Explorer</a>.</p>
<p>Sorry, but your browser does not support SVG. Below is a list of
alternate browsers and versions that support SVG and SVG-edit
(from <a href="http://caniuse.com/#cats=SVG">caniuse.com</a>).</p>
<p>Try the latest version of
<a href="http://www.getfirefox.com">Firefox</a>,
<a href="http://www.google.com/chrome/">Google Chrome</a>,
<a href="http://www.apple.com/safari/download/">Safari</a>,
<a href="http://www.opera.com/download/">Opera</a> or
<a href="http://windows.microsoft.com/ie9">Internet Explorer</a>.</p>
<p>If you are unable to install one of these and must use an old version of
Internet Explorer, you can install the
<a href="http://code.google.com/chrome/chromeframe/">Google Chrome Frame plugin</a>.</p>
</div>
<script src="browser-not-supported.js"></script> <div id="caniuse">
</body> <iframe src="https://caniuse.com/#feat=svg-html5"></iframe>
</div>
</body>
</html> </html>

View File

@ -12,12 +12,6 @@ html, body, div{
-webkit-user-drag: text; -webkit-user-drag: text;
} }
#browser-not-supported {
font-size: 0.8em;
font-family: Verdana, Helvetica, Arial;
color: #000000;
}
#svg_editor * { #svg_editor * {
transform-origin: 0 0; transform-origin: 0 0;
-moz-transform-origin: 0 0; -moz-transform-origin: 0 0;