Home  >  Article  >  CMS Tutorial  >  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

藏色散人
藏色散人Original
2019-12-19 10:06:392129browse

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=&#39;18&#39; currentstyle="<li class=&#39;hover&#39;><a href=&#39;~typelink~&#39; ~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:

How to call the current column subcategory in the navigation bar drop-down menu of DreamWeaver

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn