首页 新闻 会员 周边 捐助

cookies读取菜单,使点击二级菜单跳转页面,菜单展开

0
悬赏园豆:20 [已关闭问题] 关闭于 2018-01-29 10:03

小弟想实现点击菜单链接跳转页面,新页面的菜单不缩在一起,展开菜单到当前的页面的项,想用cookies记录点击链接时菜单的样式,然后到新页面时读取cookies

 

<nav class="navbar-default navbar-static-side " role="navigation">
<div class="sidebar-collapse">
<ul class="nav" id="side-menu">

<li class="">
<a href="#"><i class="fa fa-database"></i> <span class="nav-label">基础资料</span> <span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li class="">
<a href="/PARA_TABLESES/Index" target="_blank"><i class="fa fa-link"></i>客商管理</a>
</li>
<li class="">
<a href="/BD_CUSSERVICESS/Index" target="_blank"><i class="fa fa-link"></i>航班信息</a>
</li>
<li class="">
<a href="/BD_CUSTOMSBROKERS/Index" target="_blank"><i class="fa fa-link"></i>空港信息</a>
</li>
<li class="">
<a href="/BD_DEFDOCS/Index" target="_blank"><i class="fa fa-link"></i>关区代码</a>
</li>

</ul>
</li>
<li class="">
<a href="#"><i class="fa fa-database"></i> <span class="nav-label">营销管理</span> <span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li class="">
<a href="成本查询.aspx" target="_blank"><i class="fa fa-link"></i>成本费用</a>
</li>
<li class="">
<a href="报价费用查询.aspx" target="_blank"><i class="fa fa-link"></i>报价费用</a>
</li>
<li class="">
<a href="单证管理.aspx" target="_blank"><i class="fa fa-link"></i>客户报价</a>
</li>
<li class="">
<a href="/EMS_COMPANYs/Index" target="_blank"><i class="fa fa-link"></i>...</a>
</li>
</ul>
</li>
<li class="">
<a href="#"><i class="fa fa-database"></i> <span class="nav-label">空运承揽</span> <span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li class="">
<a href="/口岸接单.aspx" target="_blank"><i class="fa fa-link"></i>承揽接单</a>
</li>
<li class="">
<a href="/仓库接单查询.aspx" target="_blank"><i class="fa fa-link"></i>仓库接单</a>
</li>
<li class="">
<a href="/test.html" target="_blank"><i class="fa fa-link"></i>退单管理</a>
</li>
<li class="">
<a href="/EMS_COMPANYs/Index" target="_blank"><i class="fa fa-link"></i>...</a>
</li>
</ul>
</li>
<li class="">
<a href="#"><i class="fa fa-database"></i> <span class="nav-label">空运结算</span> <span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li class="">
<a href="/应付账单1.aspx" target="_blank"><i class="fa fa-link"></i>应付账单</a>
</li>
<li class="">
<a href="/应收账单1.aspx" target="_blank"><i class="fa fa-link"></i>应收账单</a>
</li>
<li class="">
<a href="/EMS_ORG_G_NoChanges/Index" target="_blank"><i class="fa fa-link"></i>账单提交</a>
</li>
<li class="">
<a href="/EMS_COMPANYs/Index" target="_blank"><i class="fa fa-link"></i>账单审核</a>
</li>
</ul>
</li>
<li class="">
<a href="#"><i class="fa fa-database"></i> <span class="nav-label">财务管理</span> <span class="fa arrow"></span></a>
<ul class="nav nav-second-level collapse">
<li class="">
<a href="/ORDERS_FIRLINE_HEADs/Index" target="_blank"><i class="fa fa-link"></i>...</a>
</li>
<li class="">
<a href="/ORDERS_SECLINE_HEADs/Index" target="_blank"><i class="fa fa-link"></i>...</a>
</li>
<li class="">
<a href="nav.html" target="_blank"><i class="fa fa-link"></i>...</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>

总编不过你的主页 总编不过你 | 初学一级 | 园豆:2
提问于:2018-01-19 16:09
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册