catalog li{list-style:none;}a{color:black;text-decoration:none;}#catalog{ background-color:red; padding-right:25px; margin-right:20px; float:left;} var myBoolean = new Boolean(true); function showTree(){ var tree = document.getElementById("tree"); var list = document.getElementById("list"); if(myBoolean == true) { tree.value="-"; list.style="display:block;"; myBoolean=false; } else { tree.value="+"; list.style="display:none;"; myBoolean=true; } }帮助文档: 办公室 绘图室
查看更多关于这段代码能在火狐运行,不能在IE8上运行,求解。_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did109968
这段代码能在火狐运行,不能在IE8上运行,求解。_html/css_WEB-ITnose
阅读:30次