Home > CMS Tutorial > DEDECMS > body text

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

藏色散人
Release: 2019-12-19 10:06:39
Original
2144 people have browsed it

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}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!