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

📄 webeditor_advance.vm

📁 一个webwork+spring+ibatis的小例子
💻 VM
📖 第 1 页 / 共 2 页
字号:
<HTML>
<HEAD>
<TITLE>$action.getText('global.prj.title')</TITLE>
<link href="${action.getText('config.webeditor.path.css')}/editor.css" type="text/css" rel="stylesheet">
<SCRIPT LANGUAGE="JavaScript">
	#parse("${action.getText('config.webeditor.path.js')}/global.js.vm")
	#parse("${action.getText('config.webeditor.path.js')}/editor.js.vm")
	#parse("${action.getText('config.webeditor.path.js')}/table.js.vm")
	#parse("${action.getText('config.webeditor.path.js')}/menu.js.vm")
</SCRIPT>
<SCRIPT language=javascript event="onerror(msg, url, line)" for=window>
</SCRIPT>

<META content="MSHTML 6.00.3790.218" name=GENERATOR></HEAD>
<BODY oncontextmenu=event.returnValue=false; SCROLLING="no">
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
	<TR><TD>
		<TABLE class=Toolbar id=eWebEditor_Toolbar cellSpacing=0 cellPadding=0 width="100%" border=0>
			<TR><TD>
				<DIV class=yToolbar>
					<DIV class=TBHandle></DIV>
					<SELECT class=TBGen onchange="format('FormatBlock',this[this.selectedIndex].value);this.selectedIndex=0">
						#webEditor_paragraphList()
					</SELECT>
					<SELECT class=TBGen onchange="format('fontname',this[this.selectedIndex].value);this.selectedIndex=0">
						#webEditor_fontnameList()
					</SELECT>
					<SELECT class=TBGen onchange="format('fontsize',this[this.selectedIndex].value);this.selectedIndex=0">
						#webEditor_fontsizeList()
					</SELECT>
					<SELECT class=TBGen onchange=doZoom(this[this.selectedIndex].value)>
						#webEditor_doZoomList()
					</SELECT>			
					<DIV class=Btn title="$action.getText('webeditor.bold')" onclick="format('bold')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/bold.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.italic')" onclick="format('italic')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/italic.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.underline')" onclick="format('underline')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/underline.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.strikeThrough')" onclick="format('StrikeThrough')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/strikethrough.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.superscript')" onclick="format('superscript')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/superscript.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.subscript')" onclick="format('subscript')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/subscript.gif"></DIV>
					<DIV class=TBSep></DIV>
					<DIV class=Btn title="$action.getText('webeditor.justifyleft')" onclick="format('justifyleft')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/justifyleft.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.justifycenter')" onclick="format('justifycenter')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/justifycenter.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.justifyright')" onclick="format('justifyright')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/justifyright.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.justifyFull')" onclick="format('JustifyFull')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/justifyfull.gif"></DIV>
				</DIV>
			</TD></TR>
			<TR><TD>
				<DIV class=yToolbar>
					<DIV class=TBHandle></DIV>
					<DIV class=Btn title="$action.getText('webeditor.cut')" onclick="format('cut')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/cut.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.copy')" onclick="format('copy')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/copy.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.paste')" onclick="format('paste')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/paste.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.pasteText')" onclick=PasteText()><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/pastetext.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.pasteWord')" onclick=PasteWord()><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/pasteword.gif"></DIV>
					<DIV class=TBSep></DIV>
					<DIV class=Btn title="$action.getText('webeditor.findReplace')" onclick=findReplace()><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/findreplace.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.delete')" onclick="format('delete')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/delete.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.removeFormat')" onclick="format('RemoveFormat')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/removeformat.gif"></DIV>
					<DIV class=TBSep></DIV>
					<DIV class=Btn title="$action.getText('webeditor.undo')" onclick="goHistory(-1)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/undo.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.redo')" onclick="goHistory(1)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/redo.gif"></DIV>
					<DIV class=TBSep></DIV>
					<DIV class=Btn title="$action.getText('webeditor.selectAll')" onclick="format('SelectAll')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/selectall.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.unselect')" onclick="format('Unselect')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/unselect.gif"></DIV>
					<DIV class=TBSep></DIV>
					<DIV class=Btn title="$action.getText('webeditor.insertorderedlist')" onclick="format('insertorderedlist')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/insertorderedlist.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.insertunorderedlist')" onclick="format('insertunorderedlist')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/insertunorderedlist.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.indent')" onclick="format('indent')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/indent.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.outdent')" onclick="format('outdent')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/outdent.gif"></DIV>
					<DIV class=TBSep></DIV>
					<DIV class=Btn title="$action.getText('webeditor.forecolor')" onclick="ShowDialog('${action.getText('config.webeditor.path.action')}/webeditorDialogForSelcolor.action?action=forecolor', 280, 250, true)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/forecolor.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.bgcolor')" onclick="ShowDialog('${action.getText('config.webeditor.path.action')}/webeditorDialogForSelcolor.action?action=bgcolor', 280, 250, true)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/bgcolor.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.backcolor')" onclick="ShowDialog('${action.getText('config.webeditor.path.action')}/webeditorDialogForSelcolor.action?action=backcolor', 280, 250, true)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/backcolor.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.backimage')" onclick="ShowDialog('${action.getText('config.webeditor.path.action')}/webeditorDialogForBackimage.action', 350, 210, true)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/bgpic.gif"></DIV>
					<DIV class=TBSep></DIV>
					<DIV class=Btn title="$action.getText('webeditor.absolutePosition')" onclick=absolutePosition()><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/abspos.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.forward')" onclick="zIndex('forward')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/forward.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.backward')" onclick="zIndex('backward')"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/backward.gif"></DIV>
				</DIV>
			</TD></TR>
			<TR><TD>
				<DIV class=yToolbar>
					<DIV class=TBHandle></DIV>
					<DIV class=Btn title="$action.getText('webeditor.insertImg')" onclick="ShowDialog('${action.getText('config.webeditor.path.action')}/webeditorDialogForImg.action', 350, 315, true)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/img.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.insertFlash')" onclick="ShowDialog('${action.getText('config.webeditor.path.action')}/webeditorDialogForFlash.action', 350, 200, true)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/flash.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.insertMedia')" onclick="ShowDialog('${action.getText('config.webeditor.path.action')}/webeditorDialogForMedia.action', 350, 200, true)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/media.gif"></DIV>
					<DIV class=Btn title="$action.getText('webeditor.insertFile')" onclick="ShowDialog('${action.getText('config.webeditor.path.action')}/webeditorDialogForFile.action', 350, 150, true)"><IMG class=Ico src="${action.getText('config.webeditor.path.img')}/iface/file.gif"></DIV>

⌨️ 快捷键说明

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