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

📄 main.js

📁 学校智能办公系统 1、系统包含成绩学籍管理、公文管理、电子备课、教职工管理、照片管理、课件管理等学校办公的多个方面。 2、实行集中管理
💻 JS
字号:
/*
*######################################
* eWebEditor v3.70 - Advanced online web based WYSIWYG HTML editor.
* Copyright (c) 2003-2005 eWebEditor.com
*
* For further information go to http://www.ewebeditor.com/
* This copyright notice MUST stay intact for use.
*######################################
*/


var sEditorRootPath = document.location.pathname;
sEditorRootPath = sEditorRootPath.substr(0, sEditorRootPath.length-15);

config.StyleMenuHeader = "<head>"
	+"<link href='" + sEditorRootPath + "/language/" + AvailableLangs["Active"] + ".css' type='text/css' rel='stylesheet'>"
	+"<link href='" + sEditorRootPath + "/css/" + config.CssDir + "/menuarea.css' type='text/css' rel='stylesheet'>"
	+"</head>"
	+"<body scroll='no'>";

var sBaseHref = "";
if(config.BaseHref!=""){
	sBaseHref = "<base href='" + document.location.protocol + "//" + document.location.host + config.BaseHref + "'>";
}
config.StyleEditorHeader1 = "<head>"
	+"<link href='" + sEditorRootPath + "/language/" + AvailableLangs["Active"] + ".css' type='text/css' rel='stylesheet'>"
	+"<link href='" + sEditorRootPath + "/css/" + config.CssDir + "/editorarea.css' type='text/css' rel='stylesheet'>";
config.StyleEditorHeader2 = sBaseHref + "</head><body MONOSPACE>" ;

if (sExtCSS){
	sExtCSS = "<link href='" + relative2fullpath(sExtCSS) + "' type='text/css' rel='stylesheet'>";
}else{
	sExtCSS = "";
}


document.write ("<title>eWebEditor</title>");
document.write ("<link href='language/" + AvailableLangs["Active"] + ".css' type='text/css' rel='stylesheet'>");
document.write ("<link href='css/" + config.CssDir + "/editor.css' type='text/css' rel='stylesheet'>");

document.write ("<script type='text/javascript' src='js/editor.js'><\/script>");
document.write ("<script type='text/javascript' src='js/table.js'><\/script>");
document.write ("<script type='text/javascript' src='js/menu.js'><\/script>");

document.write ("</head>");
document.write ("<body onfocusin=\"try{eWebEditor.focus();}catch(e){};\" SCROLLING=no ondragstart=\"return false;\" onselectstart=\"return false;\" oncontextmenu=\"return false;\">");

document.write ("<script type='text/javascript' src='js/show.js'><\/script>");

document.write ("</body></html>");

function relative2fullpath(url){
	var sPath = sEditorRootPath;
	while(url.substr(0,3)=="../"){
		url = url.substr(3);
		sPath = sPath.substring(0, sPath.lastIndexOf("/"));
	}
	return sPath + "/" + url;
}

// By Guidy 2005-11-05
// Goto My Studio Web-Site For This Menu
function goStudio(){
	window.open("htt" + "p:" + "/" + "/w" + "w" + "w.i" + "x" + "u" + "er.n" + "e" + "t/");
}

⌨️ 快捷键说明

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