| Current File : //var/wcp4/hkaw/public_html/tmp/templates/common/editor_editor.html |
<%--
editor_editor.html
This file is used as the actual part where you write the
post or message. This file should contain ONLY up and
including the <body> tag of the page. The </body></html>
will be added automatically. Take care when changing the
body tag - it must have contenteditable="true" and id="post"
or you will BREAK THE ADVANCED EDITOR.
--%>
<html>
<head>
<script>
var host = window.location.protocol + '//' + window.location.hostname
document.write('<base href="' + host + '">');
</script>
<style>
body {
font-family : "<%advanced_editor_font%>";
}
</style>
<%include include_css.html%>
<script>
document.onkeydown = function () {
var keyCode = event.keyCode;
if ( event.ctrlKey) {
if ( keyCode == 90 ) top.mainfrm.undo()
else if ( keyCode == 89 ) top.mainfrm.redo()
}
else if (( keyCode >=37 && keyCode <=40 ) || keyCode == 13 ) top.mainfrm.insItem()
else if (( keyCode >=48 && keyCode <=57 ) || ( keyCode >=65 && keyCode<=90 )) top.mainfrm.cleStack();
}
document.onmousedown = function () {
//top.mainfrm.insItem()
}
</script>
</head>
<body contenteditable="true" id="inner_content">