Home >CMS Tutorial >DEDECMS >How to call the current column subcategory in the navigation bar drop-down menu of DreamWeaver
How to call the current column subcategory in the navigation bar drop-down menu of Dreamweaver?
This article mainly introduces how to call the current column subcategory in the navigation bar drop-down menu. Friends in need can refer to the following
Recommended learning: Dreamweaver cms
The code is as follows:
{dede:channelartlist typeid="top" row='18' currentstyle="<li class='hover'><a href='~typelink~' ~rel~><span>~typename~</span></a></li>"} <ul id="navul" class="cl"> <!--注意下一行的标签,不是[field:??/]这种,而是{dede:field.??/}这种--> <li><a href="{dede:field name="typeurl"/}" target="_blank">{dede:field name="typename"/}</a> <ul> {dede:channel type="son"} <li><a href="[field:typeurl/]" title="HTML">[field:typename/]</a></li> {/dede:channel} </ul> </li> </ul> {/dede:channelartlist}
The effect is as follows:
The above is the detailed content of How to call the current column subcategory in the navigation bar drop-down menu of DreamWeaver. For more information, please follow other related articles on the PHP Chinese website!