eyoucms 导航高亮焦点显示方法" style="box-sizing: content-box; margin: 0px 0px 0px 20px; padding: 0px; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 10; font-family: "microsoft yahei", simhei, sans-serif; font-weight: 400; font-size: 16px; color: rgb(51, 51, 51); width: 416px;">
eyoucms 导航高亮焦点显示方法
高亮显示教程适用于您具有一定的CSS基础才可以了,前提把高亮显示的样式写好,然后再开始高亮显示标签适用。
{eyou:channel type="top" row="60" id="field" currentstyle="mehu"} <li> <a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}"> {$field.typename}</a> </li>
{/eyou:channel}
currentstyle="mehu"中mehu就是输出样式
这里说明的 再次解释下,
{eyou:channel type="top" row="60" id="field" currentstyle="mehu"} 其中 currentstyle="mehu" muhu 就是CSS字段
所以要做好样式才可以
<a href="{$field.typeurl}" title="{$field.typename}" class="{$field.currentstyle}"> 其中 class="{$field.currentstyle}" 里面的 currentstyle说明就是上级调用的 意思差不多就是 2个要有关联的
currentstyle取决于标签里面的 currentstyle mehu 样式
2. 本站所有帖子均有严格审核,某些帖子均采集网上收集,一切只为研究学习作用,不可商用!如果商用请自行负责!
3. 本站强烈打击盗版/破解等有损他人权益和违法作为,请各位会员支持正版!
4. 会员请遵守本站《网站管理条例》,做到勿传播,勿侵权,请尊重相关版权方劳动成果!如有违反自行负责~