1 Star 0 Fork 6

八爪鱼工作室/罗湖医院体检科

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
JYEditer.php 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
邓云溪 提交于 2018-05-21 11:02 . no commit message
<?php
?>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
</head>
<body leftmargin="0" topmargin="0">
<SCRIPT LANGUAGE="JavaScript">
var bokecc_id='1204';
</SCRIPT>
<script type="text/javascript" src="/ewebeditor/KindEditor.js"></script>
<input type="hidden" name="content" id="content">
<script type="text/javascript">
var editor = new KindEditor("editor");
editor.hiddenName = "content";
editor.skinPath = "/ewebeditor/skins/default/";
editor.iconPath = "/images/default/faceicon/";
editor.imageAttachPath = "upload_files";
editor.imageUploadCgi = "/upfile_jy.php?belongs_to=<?php echo $_GET["belongs_to"];?>&belongs_to_id=<?php echo $_GET["belongs_to_id"];?>";
editor.cssPath = "/ewebeditor/common.css";
editor.editorWidth = "100%";
editor.parentID = "<?php echo $_GET[id];?>";
function get_height(){
h=0;
if(parent.document.getElementById("eWebEditor1")!=null){
h=(parent.document.getElementById("eWebEditor1").height-60);
}
if(h<10){
h=100;
}
return (h+'px');
}
function show_edit(){
editor.editorHeight =get_height();
editor.show();
}
setcode();
show_edit();
function setcode(){
document.getElementById('content').value=parent.document.getElementById('<?php echo $_GET[id];?>').value;
}
document.onmousemove=editor.code;
function set_input(){
editor.code();
setTimeout("set_input()",30);
}
set_input();
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/elfbobo/luohu.git
[email protected]:elfbobo/luohu.git
elfbobo
luohu
罗湖医院体检科
master

搜索帮助