OSDN Git Service

Now this JavaScript DOM operation works on Internet Explorer.
[nucleus-jp/nucleus-jp-ancient.git] / utf8 / nucleus / documentation / help.html
index 92f88af..013e0b6 100644 (file)
@@ -4044,7 +4044,6 @@ onclick="<%editpopupcode%>">編集</a> -
 </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>