svnno****@sourc*****
svnno****@sourc*****
2009年 10月 8日 (木) 21:15:11 JST
Revision: 1315
http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1315
Author: dhrname
Date: 2009-10-08 21:15:10 +0900 (Thu, 08 Oct 2009)
Log Message:
-----------
Modified Paths:
--------------
trunk/svginhtml.html
Modified: trunk/svginhtml.html
===================================================================
--- trunk/svginhtml.html 2009-10-06 13:55:16 UTC (rev 1314)
+++ trunk/svginhtml.html 2009-10-08 12:15:10 UTC (rev 1315)
@@ -1,6 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>Sie Reader</title>
+<title>SVG in HTML - SIE</title>
<meta http-equiv="Content-Type" content="text/html; charset=urf-8">
<script defer="defer" type="text/javascript" src="sie.js"></script>
</head>
@@ -17,8 +17,8 @@
}
}
document.getElementById("hogehoge").innerHTML = source;
- alert(document.getElementById("hogehoge").innerHTML);
- if (/a/[-1] !== 'a'){ //Firefoxだったらfalseを返す
+ var isOpera = (window.opera !== void 0); //Operaだったらtrueを返す
+ if (isOpera){
svgtovml();
}
}
@@ -26,8 +26,10 @@
document.write('<div id="hogehoge"></div>');
document.write('<script type="text/svg"><p style="display:none;">n</p>');
--></script>
+<h1>SVG in HTML - SIE</h1>
<svg width="200" height="200">
<rect x="20" y="30" width="30" height="300" fill="red"/>
+ <rect x="20"/>
</svg>
<!--/*Sie Reader LGPL2.1 & GPL1.1 & Mozilla Public Lisence*/
/* ***** BEGIN LICENSE BLOCK *****
@@ -43,7 +45,7 @@
* for the specific language governing rights and limitations under the
* License.
*
- * Contributor(s):DHRNAME
+ * Contributor(s):DHRNAME revulo
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),