TaoBaoKe.Web/js/user.js

(开头部分) 9KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

$(document).ready(function(){
    $(".myCenter dt").hover(
        function(){
            $(this).addClass("mouseover");
        },
        function(){
            $(this).removeClass("mouseover")
        }
    );
    
    $(".myCenter dt").toggle(
        function(){
            $(this).parent().addClass("close")
            $(this).next().hide();
        },
        function(){
            $(this).parent().removeClass("close")
            $(this).next().show();
        }
    );
});

function myDate(){
    $("table").removeAttr("title");
    $("#myDate tr:gt(1) td").each(function(){
        if($(this).find("ul").length>0){
            $(this).addClass("holiday");
            $(this).hover(
                function(){
                    $(this).addClass("curr");
                    $(this).find("ul").show();
                    $(this).find("ul").css({left:$(this).offset().left+6,top:$(this).offset().top+16});
                    
                },
                function(){
                    $(this).removeClass("curr");
                    $(this).find("ul").hide();
                }
            );
        }
    });
}

function OOO(obj,ele){
	if(obj&&!ele){
	    return document.getElementById(obj)
	}else if(obj&&ele){
	    return document.getElementById(obj).getElementsByTagName(ele)
	}else{
	    return false
	}
}

function getMess(obj,status){
	if (!status){
		OOO(obj).style.display=(OOO(obj).style.display=="")?"none":"";
	}else if(status=="close"){
		OOO(obj).style.display="none";
	}
}
后面还有 270 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。