JSLint
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2729 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
46fdbdfb6a
commit
94c598b7f6
|
@ -13,15 +13,19 @@
|
|||
<div id="browser-not-supported">
|
||||
<img style="float:left;padding:10px;" src="images/logo.png" width="48" height="48" alt="SVG-edit logo" /><br />
|
||||
<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>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>
|
||||
|
||||
<script>
|
||||
var viewportHeight =(window.innerHeight ? window.innerHeight : $(window).height()) - 140;
|
||||
document.write('<iframe width="100%" height="'+viewportHeight+'" src="http://caniuse.com/#cats=SVG"></iframe>');
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
/*globals $*/
|
||||
var viewportHeight = window.innerHeight || ($(window).height() - 140);
|
||||
var iframe = document.createElement('iframe');
|
||||
iframe.style.width = '100%';
|
||||
iframe.style.height = viewportHeight + 'px';
|
||||
iframe.src = 'http://caniuse.com/#cats=SVG';
|
||||
document.body.appendChild(iframe);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue