怎么把我写的二级导航代码变成dede标签,求大神指导
代码如下:<divid="menu"><ulid="nav"><liclass="mainlevel"id="mainlevel_01"><ahref="/"class=...
代码如下:<div id="menu"><ul id="nav"> <li class="mainlevel" id="mainlevel_01"><a href="/" class="right">网站首页</a></li> <li class="mainlevel" id="mainlevel_01"><a href="/pingtai/" class="right">外汇平台</a> <ul class="sub_nav_01"> <span class="Triangle_con"></span> <li><a href="#">firefox</a></li> <li><a href="#">chrome</a></li> <li><a href="#">opera</a></li> <li><a href="#">IE</a></li> <li><a href="#">Netscape</a></li> </ul> </li> <li class="mainlevel" id="mainlevel_02"><a href="/news/" class="right">财经新闻</a> <ul class="sub_nav_01"> <span class="Triangle_con"></span> <li><a href="#">html</a></li> <li><a href="#">xhtml</a></li> <li><a href="#">html5</a></li> <li><a href="#">css</a></li> <li><a href="#">TCP/IP</a></li> </ul> </li> <li class="mainlevel"><a href="/school/" class="right">外汇学院</a> <ul class="sub_nav_01"> <span class="Triangle_con"></span> <li><a href="#">XSL</a></li> <li><a href="#">XSLT</a></li> <li><a href="#">XSL-FO</a></li> <li><a href="#">XPath</a></li> <li><a href="#">XQuery</a></li> <li><a href="#">XLink</a></li> <li><a href="#">XPointer</a></li> </ul> </li> <li class="mainlevel"><a href="/fenxi/" class="right">汇市分析</a><!--input an em tag as a space,IE is gread need--> <ul class="sub_nav_01"> <span class="Triangle_con"></span> <li><a href="#">JavaScript</a></li> <li><a href="#">DHTML</a></li> <li><a href="#">VBScript</a></li> <li><a href="#">AJAX</a></li> <li><a href="#">jQuery</a></li> <li><a href="#">E4X</a></li> </ul> </li> <li class="mainlevel"><a href="/yuanma/" class="right">源码库</a> <ul class="sub_nav_01"> <span class="Triangle_con"></span> <li><a href="#">SQL</a></li> <li><a href="#">ASP</a></li> <li><a href="#">ADO</a></li> <li><a href="#">PHP</a></li> </ul> </li> <li class="mainlevel"><a href="/a/spv/" class="right">外汇视频教程</a></li> <li class="mainlevel"><a href="/a/soft_buy/" class="right">软件租用</a> <ul class="sub_nav_01"> <span class="Triangle_con"></span> <li><a href="#">Media</a></li> <li><a href="#">SMIL</a></li> <li><a href="#">SVG</a></li> </ul> </li> </ul></div>
展开
2个回答
展开全部
<div id="menu">
<ul id="nav">
<li class="mainlevel" id="mainlevel_01"><a href="/" class="right">网站首页</a></li>
{dede:channelartlist typeid='top'}
<li class="mainlevel" id="mainlevel_01"><a href="{dede:field name='typeurl'/}" class="right">{dede:field name='typename'/}</a>
<ul class="sub_nav_01">
<span class="Triangle_con"></span>
{dede:channel type='son'}
<li><a href="[field:typeurl/]">[field:typename/]</a></li>
{/dede:channel}
</ul>
</li>
{/dede:channelartlist}
</ul>
</div>
AiPPT
2024-09-19 广告
2024-09-19 广告
随着AI技术的飞速发展,如今市面上涌现了许多实用易操作的AI生成工具1、简介:AiPPT: 这款AI工具智能理解用户输入的主题,提供“AI智能生成”和“导入本地大纲”的选项,生成的PPT内容丰富多样,可自由编辑和添加元素,图表类型包括柱状图...
点击进入详情页
本回答由AiPPT提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询