WebRoot/admin/js/nav.js

(完整代码) 1009B

$(document).ready(function(e) {

	$("#bd").height($(window).height() - $("#ft").height());
	$("iframe").height($("#bd").height() - $(".tab").height()-8);
	
	$(top.window).resize(function(e) {
        $("#bd").height($(window).height() - $("#ft").height());
		$("iframe").height($("#bd").height() - $(".tab").height()-8);
    });
	$(".tab").on("click","li",function(){
		$(this).addClass("current").siblings().removeClass("current");
	});
	
	$(".sidebar-hide").click(function(){
		$(".sidebar").hide();
		$("#bd").css("padding-left","0");
		$(".sidebar-show").show();
		$.each($('iframe'), function(){
			if($(this)[0].contentWindow.resizeWidth){
				$(this)[0].contentWindow.resizeWidth();	
			}
		});
		
	});
	$(".sidebar-show").click(function(){
		$(".sidebar").show();
		$("#bd").css("padding-left","203px");
		$(this).hide();
		$.each($('iframe'), function(){
			if($(this)[0].contentWindow.resizeWidth){
				$(this)[0].contentWindow.resizeWidth();	
			}
		});
	});

});

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

AI 解读 AI

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

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