OSDN Git Service

Now this JavaScript DOM operation works on Internet Explorer.
authorsakamocchi <sakamocchi@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Wed, 2 Feb 2011 10:19:19 +0000 (10:19 +0000)
committersakamocchi <sakamocchi@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Wed, 2 Feb 2011 10:19:19 +0000 (10:19 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk@1139 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/documentation/help.html

index 92f88af..013e0b6 100644 (file)
@@ -4044,7 +4044,6 @@ onclick="&lt;%editpopupcode%&gt;"&gt;編集&lt;/a&gt; -
 </div>
 
 <script type="text/javascript">
-var count = 0;
 var elements = window.document.getElementsByTagName('p');
 var width = 1000;
 var height = 800;
@@ -4058,13 +4057,13 @@ if (window.opener) {
        }
 }
 for (var index=0; index < elements.length; index++) {
-       if (elements[index].getAttribute('class') == 'comment') {
+       if (elements[index].className == 'comment') {
                elements[index].firstChild.onclick = function () {
-                       window.open(this.getAttribute('href'), 'Online Helppage for Japanese Users', 'width='+width+',height='+height+',locationbar=1,menubar=1,scrollbars=1,statusbar=1,toolbar=1');
+                       window.open(this.getAttribute('href'), 'OnlineHelp', 'width='+width+',height='+height+',locationbar=1,menubar=1,scrollbars=1,statusbar=1,toolbar=1');
                        return false;
                };
        }
 }
 </script>
 </body>
-</html>
\ No newline at end of file
+</html>