![织梦模板产品页折叠菜单进入定位默认展开的方法,第1张 织梦模板产品页折叠菜单进入定位默认展开的方法,第1张](/aiimages/%E7%BB%87%E6%A2%A6%E6%A8%A1%E6%9D%BF%E4%BA%A7%E5%93%81%E9%A1%B5%E6%8A%98%E5%8F%A0%E8%8F%9C%E5%8D%95%E8%BF%9B%E5%85%A5%E5%AE%9A%E4%BD%8D%E9%BB%98%E8%AE%A4%E5%B1%95%E5%BC%80%E7%9A%84%E6%96%B9%E6%B3%95.png)
织梦模板产品页
折叠菜单进入定位
默认展开的方法
织梦做产品栏目的时候,会有一级栏目和二级栏目,一般都喜欢用折叠的效果!!但是点击进入的话,默认会关闭!怎么才能让它默认打开呢!织梦97提供了这方面的标签和js! 注意!这个只是一个实例,没有折叠效果的js效果!js自行网上查找!!
查看源码打印代码帮助
{dede:channelartlist typeid=27}
- {dede:field name="typename"/}
- {dede:channel type='son' noself='yes'}
[field:typename /]
{/dede:channel}
{/dede:channelartlist}
.launched{background-image:url(/skin/images/nav_hover.jpg);color: #d5b687;}
.list-none{ list-style:none; padding:0px; margin:0px;}
.menu dl{ margin-top:5px; }
.menu dt{cursor: pointer;margin-top: 10px;font-weight: bold;font-size: 16px;font-family: "微软雅黑";color: #0d2180;line-height: 53px;padding-left: 48px;
background: url(/skin/images/nav.jpg) no-repeat;}
.menu h4 a{ display: block;width: 200px;height: 28px;font-family: "微软雅黑";text-align: center;font-size: 14px;line-height: 28px;color: #333; }
.menu h4 span{ display: block;width: 200px;height: 28px; font-weight:100;font-family: "微软雅黑";text-align: center;font-size: 14px;line-height: 28px;color: #333; }
.menu h4 a:hover{color: #fff;background-color: #d5b687;}
评论列表(0条)