PHPは右側にメニュー実装コードを引いて、テスト使用中
4167 ワード
これはasp 2級サイドメニューから変更されました
<br>// JavaScript Document
<br>
<br>startList = function() {
<br>if (document.all && document.getElementById) {
<br>navRoot = document.getElementById("nav");
<br>for (i=0; i<navRoot.childNodes.length; i++) {
<br>node = navRoot.childNodes[i];
<br>if (node.nodeName=="LI") {
<br>node.onmouseover=function() {
<br>this.className+=" over";
<br>}
<br>node.onmouseout=function() {
<br>this.className=this.className.replace(" over", "");
<br>}
<br>}
<br>}
<br>}
<br>}
<br>window.onload=startList;
<br>