art.htm

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

HTM
224
字号
	try{
		document.all(sShapeID).click();
	}catch(e){}

	td_fontfamily.innerHTML = "<select id=d_fontfamily onchange='doFontFamily(this.options[this.selectedIndex].value)'>" + lang["FontName"] + "</select>";
	SearchSelectValue(d_fontfamily, sFontFamily);

	str = "<img onclick='doBold(this)' border=0 width=20 height=20 src='../buttonimage/" + config.ButtonDir + "/bold.gif' id=s_bold class="
	if (sFontWeight.toLowerCase()=="bold"){
		str += "imageselected";
	}else{
		str += "imagenormal";
	}
	str += ">";
	td_bold.innerHTML = str;

	str = "<img onclick='doItalic(this)' border=0 width=20 height=20 src='../buttonimage/" + config.ButtonDir + "/italic.gif' id=s_italic class="
	if (sFontStyle.toLowerCase()=="italic"){
		str += "imageselected";
	}else{
		str += "imagenormal";
	}
	str += ">";
	td_italic.innerHTML = str;

	d_fontsize.value = sFontSize;
	SearchSelectValue(d_fontunit, sFontUnit);

	changeTextStyle();
	d_text.value = sText;
	d_text.select();
	d_text.focus();

	adjustDialog();
}

function doMouseOver(obj){
	obj.className = "shapeselected";
}

function doMouseOut(obj){
	if (obj.id!=sShapeID){
		obj.className = "shapenormal";
	}
}

function doClick(obj){
	document.all(sShapeID).className = "shapenormal";
	obj.className = "shapeselected";
	sShapeID = obj.id;
}

function doBold(obj){
	if (obj.className=="imagenormal"){
		obj.className = "imageselected";
		sFontWeight = "bold";

⌨️ 快捷键说明

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