[img][/img]
各位大虾,如图所示
我需要在二级子栏目中调去二级和包括有三级的二级栏目,
灵动标签如下
if (document.getElementById){ //DynamicDrive.com change
document.write('
document.write('.submenu{display: none;}')
document.write('')
}
function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
if(el.style.display != "block"){ //DynamicDrive.com change
for (var i=0; i
if (ar[i].className=="submenu") //DynamicDrive.com change
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}
$i=0; ?>
[e:loop={"select classid,classname from phome_enewsclass where bclassid='64' and sonclass=<>'' order by myorder,classid ",30,24,0}]
$i=$i+1; ?>
[showclasstemp]"".$bqr[classid]."",15,0,0[/showclasstemp]
[/e:loop]
[e:loop={"select classid,classname from phome_enewsclass where bclassid='64' and sonclass='' order by myorder,classid ",30,24,0}]
[/e:loop]