催收系统 源码 php,header.php

$(function(){

/*当前页面导航高亮*/

var href = window.location.href.split('/')[window.location.href.split('/').length-1].substr(0,4);

if(href.length > 0){

$(function(){

$("ul.nav a:first[href^='"+href+"']").attr("class","on");

if($("ul.nav a:first[href^='"+href+"']").size() == 0){

$("ul.nav a:first[href^='index']").attr("class","on");

}

});

}else{

$(function(){$("ul.nav a:first[href^='index']").attr("class","on")});

}

/*下拉菜单*/

$(".nav li").hover(function(){

$(this).parents(".nav > li").find("a:first").addClass("on2");

$(this).find("ul:first").show(); //鼠标滑过查找li下面的第一个ul显示

},function(){

var navobj = $(this).find("ul:first");

navobj.hide();

//鼠标离开隐藏li下面的ul

if(navobj.attr("class") == "nav_sub")

{

$(this).find("a:first").removeClass("on2");

}

})

//给li下面ul是s的样式的前一个同辈元素添加css

$(".nav li ul li ul").prev().addClass("t");

})

//加入收藏

function AddFavorite(){

if(document.all){

try{

window.external.addFavorite(window.location.href,document.title);

}catch(e){

alert("加入收藏失败,请使用Ctrl+D进行添加!");

}

}else if(window.sidebar){

window.sidebar.addPanel(document.title, window.location.href, "");

}else{

alert("加入收藏失败,请使用Ctrl+D进行添加!");

}

}

一键复制

编辑

Web IDE

原始数据

按行查看

历史

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值