⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.js

📁 自己写的一个struts+spring+hibernate测试程序
💻 JS
字号:
$(document).ready(function(){
	$("input[@type=text],input[@type=file],input[@type=password],textarea").focus(function(){
		$(this).css("border-color","#FF9900").css("background-color", "#FFFFCC");
	}).blur(function(){
		$(this).css("border-color","#1D9BC0").css("background-color", "#FFF");;
	}).addClass("input_txt");
});
CheckAll = function(control, checkboxs){
		control.click(function(){
			if(this.checked){
				checkboxs.each(function(i){
					this.checked = true;		
				});
			}else{
				checkboxs.each(function(i){
					this.checked = false;		
				});
			}
		});
}

OpenWin = function(url, width, height){
	window.open(url,"mywin","width=" + width + "px,height=" + height +"px, scrollbars=yes, top=" + (screen.Height/2 -height/2) + "px,left=" + (screen.Width/2 -width/2)+"px");
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -