视频板块导航标签事件
videoclassid=all 不指定分类 videoclassid=1 指定分类ID1 也可以指定多个 videoclassid=1,2,3,4,5
sort=turn 按分类排序顺序
order=asc 升序排列 order=desc 倒序排列
通用首页判断标签,如果当前页面是板块首页则加上Css videoclass="current" 样式
一级分类导航循环标签(全站通用)
{x5music:videoclass videoclassid=all sort=turn order=asc} [videoclass:name] [videoclass:link] {/x5music:videoclass}
{x5music:videoclass videoclassid=1,2,3,4 sort=turn order=asc} [videoclass:name] [videoclass:link] {/x5music:videoclass}
[videoclass:i]从1开始叠加
[videoclass:id]
[videoclass:aliasname]
[videoclass:name]
[videoclass:link]
[videoclass:fid]
[videoclass:current]在当前分类下会加上CSS样式 videoclass="current"
二级分类导航循环标签(分类页)-自定义可全站通用
{x5music:videoclass fid=[videoclass:fid] sort=turn order=asc} [videoclass:name] [videoclass:link] {/x5music:videoclass}
[videoclass:i]从1开始叠加
[videoclass:id]
[videoclass:aliasname]
[videoclass:name]
[videoclass:link]
[videoclass:fid]
[videoclass:current]在当前分类下会加上CSS样式 videoclass="current"
Top排行榜导航循环标签(分类页和ABC页) 其他页面不可用
{x5music:djtop videoclassid=all} [djtop:name] [djtop:link] {/x5music:djtop}
[djtop:i]从1开始叠加
[djtop:id]
[djtop:aliasname]
[djtop:name]
[djtop:link]
[djtop:fid]
[videoclass:current]在当前分类下会加上CSS样式 videoclass="current"
三级连循环导航带CSS样式写法
{x5music:videoclass videoclassid=all sort=turn order=asc}
<a {if:'[videoclass:id]'=='[videoclass:fid]'} videoclass="current"{else}[videoclass:current]{end if} href="[videoclass:link]">[videoclass:name]</a>
{/x5music:videoclass}
{x5music:videoclass fid=[videoclass:fid] sort=turn order=asc}
<a [videoclass:current] href="[videoclass:link]">[videoclass:name]</a>
{/x5music:videoclass}
{x5music:djtop videoclassid=all}
<a [djtop:current] href="[djtop:link]">[djtop:name]</a>
{/x5music:djtop}