织梦 dedecms 导航条dropdown.js的改进 ,可以设置 织梦 dedecms一个一直都显示的二级菜单,
修复了没有二级菜单时鼠标移上去仍然显示上一个 织梦 dedecms二级菜单的问题.支持一级菜单鼠标离开事件 。
html代码
代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>我的网站</title>
<meta name="description" content=http://www.dede58.com/a/dedejq/"" />
<meta name="keywords" content=http://www.dede58.com/a/dedejq/"" />
<link type="text/css" rel="stylesheet" href=http://www.dede58.com/a/dedejq/"http:/www.188163.com/img/fnews/css/style.css" />
</head>
<body>
<div class="w1000">
<div class="w960">
<!--f1-->
<!-- 菜单 -->
<div id="menu" class="menus">
<ul>
<!-- class='navselect'根据此属性来判断需要默认显示的二级菜单,以便在织梦模板中通用 -->
<li class='navselect'><a href=http://www.dede58.com/a/dedejq/"/" rel='dropmenu1'>主 页</a></li>
<li><a href='/a/jinrongzixun/'>金融资讯</a></li>
<li><a href='/a/gerenjinrong/' rel='dropmenu2'>个人金融</a></li>
<li><a href='/a/qiyejinrong/' rel='dropmenu4'>企业金融</a></li>
<li><a href='/a/caijingpindao/' rel='dropmenu5'>财经频道</a></li>
<li><a href='/a/zhifujiesuan/' rel='dropmenu6'>支付结算</a></li>
<li><a href='/a/yewushenqingtongdao/' rel='dropmenu7'>业务申请</a></li>
<li><a href='/a/zhongyaogonggao/' >重要公告</a></li>
<li><a href='/a/xinyongka/' >信用卡</a></li>
</ul>
</div>
<div class="menus_bottom">
</div>
<!-- //二级子类下拉菜单 -->
<script type="text/javascript" src=http://www.dede58.com/a/dedejq/"dropdown.js"></script>
<ul id="dropmenu1" class="dropMenu">
<li><a href=http://www.dede58.com/a/dedejq/"/a/gerenjinrong/touzilicai/">首页列表</a> | </li>
</ul>
<ul id="dropmenu2" class="dropMenu">
<li><a href=http://www.dede58.com/a/dedejq/"/a/gerenjinrong/touzilicai/">投资理财</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/gerenjinrong/grdk/">个人贷款</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/gerenjinrong/gerenxiaofei/">个人消费贷款</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/gerenjinrong/xinyong/">信用贷款</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/gerenjinrong/qichedaikuan/">汽车贷款</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/gerenjinrong/yishoulou/">一手楼按揭</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/gerenjinrong/ershoulou/">二手楼按揭</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/gerenjinrong/grjy/">个人经营贷款</a> | </li>
</ul>
<ul id="dropmenu4" class="dropMenu">
<li><a href=http://www.dede58.com/a/dedejq/"/a/qiyejinrong/gongsirongzi/">公司融资</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/qiyejinrong/maoyirongzi/">贸易融资</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/qiyejinrong/gongsilicai/">公司理财</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/qiyejinrong/piaojuyewu/">票据业务</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/qiyejinrong/xiangmurongzi/">项目融资</a> | </li>
</ul>
<ul id="dropmenu5" class="dropMenu">
<li><a href=http://www.dede58.com/a/dedejq/"/a/caijingpindao/huangjin/">黄金</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/caijingpindao/zhaiquan/">债券</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/caijingpindao/waihui/">外汇</a> | </li>
<li><a href=http://www.dede58.com/a/dedejq/"/a/caijingpindao/jijin/">基金</a> | </li>
</ul>
<ul id="dropmenu6" class="dropMenu">
<li><a href=http://www.dede58.com/a/dedejq/"/a/zhifujiesuan/pos/">P0S支付</a> | </li>
</ul>
<ul id="dropmenu7" class="dropMenu">