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

📄 screenmessage.js

📁 j2ee源码
💻 JS
字号:
// sysmessage.js
// requires baseLinkTag

var promptMsgArray = new Array();
var scrMsg_nolines_minus = new Image();
scrMsg_nolines_minus.src = resMgr.ImageDirPath + "base/nolines_minus.gif";
var scrMsg_nolines_plus = new Image();
scrMsg_nolines_plus.src = resMgr.ImageDirPath + "base/nolines_plus.gif";

function promptScreenMsg () {
	var i = 0;
	for (i=0; i<promptMsgArray.length; i++)
		 alert (promptMsgArray[i]);
}

function initSwitchMessageCommandLabel() {
	if (document.all('SwitchMessageCommandIcon') != null)
		document.all('SwitchMessageCommandIcon').src = scrMsg_nolines_minus.src;
}

function switchMsgBox () {
	if (document.all("ScreenMsgArea") != null)
		if (document.all("ScreenMsgArea").style.display != "none") {
			document.all("ScreenMsgArea").style.display = "none";
			document.all("SwitchMessageCommandIcon").src = scrMsg_nolines_plus.src;
		} else {
			document.all("ScreenMsgArea").style.display = "";
			document.all("SwitchMessageCommandIcon").src = scrMsg_nolines_minus.src;
		}
}

onloadCommands.push("initSwitchMessageCommandLabel();");
onloadCommands.push ("promptScreenMsg();");

function showModifiedWarning() {
	return showModalDialog(resMgr.AppRootPath + "/Common/ModifiedWarningPage.aspx","","dialogHeight:200px; dialogWidth: 400px; help:no; status:no;");
}

⌨️ 快捷键说明

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