art.htm

来自「学校智能办公系统 1、系统包含成绩学籍管理、公文管理、电子备课、教职工管理、」· HTM 代码 · 共 224 行 · 第 1/4 页

HTM
224
字号
	}else{
		obj.className = "imagenormal";
		sFontWeight = "normal";
	}
	changeTextStyle();
}

function doItalic(obj){
	if (obj.className=="imagenormal"){
		obj.className = "imageselected";
		sFontStyle = "italic";
	}else{
		obj.className = "imagenormal";
		sFontStyle = "normal";
	}
	changeTextStyle();
}

function changeTextStyle(){
	d_text.style.fontFamily = sFontFamily;
	d_text.style.fontSize = sFontSize + sFontUnit;
	d_text.style.fontWeight = sFontWeight;
	d_text.style.fontStyle = sFontStyle;
}

function doFontFamily(str){
	sFontFamily = str;
	changeTextStyle();
}

function doFontSize(obj){
	var str = obj.value;
	if (str.substring(0,1)=="0"){
		str = str.substr(1);
		obj.value = str;
	}
	if (str!=""){
		sFontSize = str;
		changeTextStyle();
	}
}

function doCheckNum(event){
	var key = event.keyCode;
	if (event.shiftKey){
		if ((key>=35)&&(key<=40)){
			return true;
		}else{
			return false;
		}
	}
	if ((key==35)||(key==36)||(key==37)||(key==38)||(key==39)||(key==40)||(key==8)||(key==46)){
		return true;
	}
	// By Guidy 2005-11-06
	// 澧炲姞瀵瑰皬閿

⌨️ 快捷键说明

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