channel标签currentstyle样式的使用方法
channel标签currentstyle样式的使用方法
比如目标站导航代码是
<LI class='51fangzhan'><A href="http://www.51fangzhan.com/html/fangzhanjiaocheng/dedecms/dedecms.html">织梦仿站</A></LI>
我们想点击到的栏目都会自动调用样式
dede仿站调用代码如下
{dede:channel type='top' row='8' currentstyle="<li><a href='~typelink~' class='51fangzhan'>~typename~</a> </li>"}
<li><a href='[field:typelink/]'>[field:typename/]</a> </li>
{/dede:channel}
相关仿站教程:
仿站咨询扫二维码


仿站教程推荐
- 相关链接:
- 教程说明:
channel标签currentstyle样式的使用方法
。