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

📄 htmleditor.txt

📁 一个超强的在线WORD汉化版ASP程序5...
💻 TXT
字号:
<html>
<head>
<title>HtmlEditor 在线编辑器[www.lionsky.net]</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="HtmlHandler.aspx?filename=CSS/{sStyleCSS}/Editor.css&configfile={configfile}&style={sStyleName}" type="text/css" rel="stylesheet">

<Script Language=Javascript>
var sPath = document.location.pathname;
sPath = sPath.substr(0, sPath.length-15);
var sLinkFieldName = "{sContentID}" ;
var sLinkOriginalFileName = "{originalfilename}" ;
var sLinkSaveFileName = "{savefilename}" ;
var sLinkSavePathFileName = "{savepathfilename}" ;

// 全局设置对象
var config = new Object() ;
config.Version = "{sVersion}" ;
config.ReleaseDate = "{sReleaseDate}" ;
config.License = "{sLicense}" ;
config.StyleName = "{sStyleName}";
config.StyleMenuHeader = "<head><link href=\"HtmlHandler.aspx?filename=CSS/{sStyleCSS}/MenuArea.css&configfile={configfile}&style={sStyleName}\" type=\"text/css\" rel=\"stylesheet\"></head><body scroll=\"no\" onConTextMenu=\"event.returnValue=false;\">";
config.StyleDir = "{sStyleDir}";
config.StyleUploadDir = "{sStyleUploadDir}";
config.InitMode = "{sInitMode}";
config.AutoDetectPasteFromWord = {sDetectFromWord};
config.BaseUrl = "{sBaseUrl}";
config.BaseHref = "{sBaseHref}";
config.AutoRemote = "{sAutoRemote}";
config.ShowBorder = "{sShowBorder}";

var sBaseHref = "";
if(config.BaseHref!=""){
	sBaseHref = "<base href=\"" + document.location.protocol + "//" + document.location.host + config.BaseHref + "\">";
}
config.StyleEditorHeader = "<head><link href=\"HtmlHandler.aspx?filename=CSS/{sStyleCSS}/EditorArea.css&configfile={configfile}&style={sStyleName}\" type=\"text/css\" rel=\"stylesheet\">" + sBaseHref + "</head><body MONOSPACE>" ;
</Script>
<Script Language=Javascript src="ScriptHandler.aspx?filename=editor.js&configfile={configfile}&style={sStyleName}"></Script>
<Script Language=Javascript src="ScriptHandler.aspx?filename=table.js&configfile={configfile}&style={sStyleName}"></Script>
<Script Language=Javascript src="ScriptHandler.aspx?filename=menu.js&configfile={configfile}&style={sStyleName}"></Script>

<script language="javascript" event="onerror(msg, url, line)" for="window">
//return true ;	 // 隐藏错误
</script>

</head>

<body SCROLLING=no onConTextMenu="event.returnValue=false;">

<table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%'>
<tr><td>

	{sToolBar}

</td></tr>
<tr><td height='100%'>

	<table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%'>
	<tr><td height='100%'>
	<input type="hidden" ID="ContentEdit" value="">
	<input type="hidden" ID="ModeEdit" value="">
	<input type="hidden" ID="ContentLoad" value="">
	<input type="hidden" ID="ContentFlag" value="0">
	<iframe class="Composition" ID="LionSky_HtmlEditor" MARGINHEIGHT="1" MARGINWIDTH="1" width="100%" height="100%" scrolling="yes"> 
	</iframe>
	</td></tr>
	</table>

</td></tr>

<!--If nStateFlag = 1 Then-->
<tr><td height=25>

	<TABLE border="0" cellPadding="0" cellSpacing="0" width="100%" class=StatusBar height=25>
	<TR valign=middle>
	<td>
		<table border=0 cellpadding=0 cellspacing=0 height=20>
		<tr>
		<td width=10></td>
		<td class=StatusBarBtnOff id=LionSky_HtmlEditor_CODE onclick="setMode('CODE')"><img border=0 src="{sButtonImgPath}modecode.gif" width=50 height=15 align=absmiddle></td>
		<td width=5></td>
		<td class=StatusBarBtnOff id=LionSky_HtmlEditor_EDIT onclick="setMode('EDIT')"><img border=0 src="{sButtonImgPath}modeedit.gif" width=50 height=15 align=absmiddle></td>
		<td width=5></td>
		<td class=StatusBarBtnOff id=LionSky_HtmlEditor_TEXT onclick="setMode('TEXT')"><img border=0 src="{sButtonImgPath}modetext.gif" width=50 height=15 align=absmiddle></td>
		<td width=5></td>
		<td class=StatusBarBtnOff id=LionSky_HtmlEditor_VIEW onclick="setMode('VIEW')"><img border=0 src="{sButtonImgPath}modepreview.gif" width=50 height=15 align=absmiddle></td>
		</tr>
		</table>
	</td>
	<td align=center id=LionSky_HtmlEditor_License style="font-size:9pt"></td>
	<td align=right>
		<table border=0 cellpadding=0 cellspacing=0 height=20>
		<tr>
		<td style="cursor:pointer;" onclick="sizeChange(300)"><img border=0 SRC="{sButtonImgPath}sizeplus.gif" width=20 height=20 alt="增高编辑区"></td>
		<td width=5></td>
		<td style="cursor:pointer;" onclick="sizeChange(-300)"><img border=0 SRC="{sButtonImgPath}sizeminus.gif" width=20 height=20 alt="减小编辑区"></td>
		<td width=40></td>
		</tr>
		</table>
	</td>
	</TR>
	</Table>

</td></tr>
<!-- End If -->

</table>

<div id="LionSky_HtmlEditor_Temp_HTML" style="VISIBILITY: hidden; OVERFLOW: hidden; POSITION: absolute; WIDTH: 1px; HEIGHT: 1px"></div>

<form id="LionSky_HtmlEditor_UploadForm" action="upload.aspx?action=remote&type=remote&style={sStyleName}&configfile={configfile}" method="post" target="LionSky_HtmlEditor_UploadTarget">
<input type="hidden" name="LionSky_HtmlEditor_UploadText">
</form>
<iframe name="LionSky_HtmlEditor_UploadTarget" width=0 height=0></iframe>
<div id=divProcessing style="width:200px;height:30px;position:absolute;display:none">
<table border=0 cellpadding=0 cellspacing=1 bgcolor="#000000" width="100%" height="100%"><tr><td bgcolor=#3A6EA5><marquee align="middle" behavior="alternate" scrollamount="5" style="font-size:9pt"><font color=#FFFFFF>...远程文件收集中...请等待...</font></marquee></td></tr></table>
</div>

</body>
</html>

⌨️ 快捷键说明

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