文章介绍 这篇文章主要介绍了织梦首页导航栏currentstyle参数不好使的替代方法,currentstyle参数不好使会导致导航栏首页不能高亮,本文就给出了另一种解决方法。 li{dede:field name=typeid run
这篇文章主要介绍了织梦首页导航栏currentstyle参数不好使的替代方法,currentstyle参数不好使会导致导航栏首页不能高亮,本文就给出了另一种解决方法。
- <li{dede:field name=typeid runphp="yes"}(@me=="")? @me=" class='hover'":@me="";