联系官方销售客服
1835022288
028-61286886
织梦代码转迅睿,这一段实在想不出了,原站效果是点击二级菜单后列出其子栏目,求大神指教:
织梦代码:
{dede:channelartlist typeid='3'} <LI><a href="{dede:field name='typeurl'/}#Menu=Child{dede:field name='id'/}" onclick="DoMenu('Child{dede:field name='id'/}')">{dede:field name='typename'/}</a> <UL id="Child{dede:field name='id'/}" class="collapsed"> {dede:channel type ='son' } <LI class="xl"><A href="[field:typelink/]">[field:typename function='cn_substr(@me,16)'/]</A> </li> {/dede:channel} </UL> </li> {/dede:channelartlist}
自己转的:
{category module=share pid=3} <LI><a href="{$t.url} #Menu=Child{$catid}" onclick="DoMenu('Child{$catid}')">{$t.name}</a> <UL id="Child{$catid}" class="collapsed"> {if $t.child} {category module=share pid=$t.id return=t2} <LI class="xl"> <A href="{$t2.url}">{$t2.name}</A> </li> {/category}