<div id=”navvr”> <ul> <li><a href=http://www.dede58.com/a/dedejq/”{dede:global.cfg_cmsurl/}/”>网站首页</a></li> {dede:channelartlist row=’10’ typeid=’top’ } <li class=”nLi”> <a href=http://www.dede58.com/a/dedejq/”{dede:field name=’typeurl’/}”>{dede:field name=’typename’/} </a> <ul {dede:field name=typeid runphp=”yes”} global $dsql; $sql = “SELECT id From `58pic_arctype` WHERE reid=’@me’ And ishidden<>1 order by sortrank asc limit 0, 100 “; $row = $dsql->GetOne($sql); @me=is_array($row)?’class=”submeau”‘:’class=”subno”‘;{/dede:field}> {dede:channel type=’son’ noself=’yes’ } <li><a href=http://www.dede58.com/a/dedejq/'[field:typelink/]’>[field:typename/]</a></li> {/dede:channel} </ul> </li> {/dede:channelartlist} </ul> </div> <script id=”jsID” type=”text/javascript”> jQuery(“#navvr”).slide({ type:”menu”,// 效果类型,针对菜单/导航而引入的参数(默认slide) titCell:”.nLi”, //鼠标触发对象 targetCell:”.submeau”, //titCell里面包含的要显示/消失的对象 effect:”slideDown”, //targetCell下拉效果 delayTime:300 , //效果时间 triggerTime:0, //鼠标延迟触发时间(默认150) returnDefault:true //鼠标移走后返回默认状态,例如默认频道是“预告片”,鼠标移走后会返回“预告片”(默认false) }); </script>
织梦下拉二级菜单导航自动调用实现方法
未经允许不得转载:HU网络 » 织梦下拉二级菜单导航自动调用实现方法