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

📄 system.js

📁 新技术论坛系统 v1.0 前后台管理的初始用户名 : admin 密码 123456
💻 JS
字号:
/**
 * System class 
 */
var System = {
	getSelectedValue : function(optionsArray){
		for(var i=0;i<optionsArray.length;i++){
			if(optionsArray[i].selected){
				return optionsArray[i].value;
			}
		}
		return "";
		optionsArray = null;
	}
}

window.onload = function(){
	// stat
	//var currentLocation = window.location.href;
	//document.getElementById("Stat").src="createStat.action?referer="+window.location.href+"("+document.title+")";
	//alert(document.getElementById("Stat").src);
}

/**
 * 文本编辑器加载类
 */
var replaceMyTextarea = function(textareaId,toolbarName,path,width,height) {
	var oFCKeditor = new FCKeditor(textareaId) ;
	if(toolbarName==null){
		oFCKeditor.ToolbarSet = "Basic";
	}
	else{
		oFCKeditor.ToolbarSet = toolbarName;
	}
	if(path==null){
		oFCKeditor.BasePath = '../scripts/FCKeditor/';
	}
	else{
		oFCKeditor.BasePath = path + '/scripts/FCKeditor/';
	}
	if(height == null){
		oFCKeditor.Height = 200;
	}
	else{
		oFCKeditor.Height = height;
	}
	oFCKeditor.ReplaceTextarea() ;
}

⌨️ 快捷键说明

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