<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Html编辑器</title>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="edt_main.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="edt_color_slt.js"></SCRIPT>
<SCRIPT LANGUAGE="JAVASCRIPT" SRC="edt_mo_slt.js"></SCRIPT>
<style type="text/css">
p {margin:0;padding:0;}
a {font-size:12px;}
td {font-size:12px;}
img {border:4;}
td.icon {width:24px;height:24px;text-align:center;vertical-align:middle;}
td.sp {width:8px;height:24px;text-align:center;vertical-align:middle;}
td.xz {width:47px;height:24px;text-align:center;vertical-align:middle;}
td.bq {width:49px;height:24px;text-align:center;vertical-align:middle;}
div a.n {height:16px; line-height:16px;display:block;border:1px solid #f6f6f6;padding:2px;color:#000000;text-decoration:none;}
div a.n:hover {background:#ffeec2;border:1px solid #000080;}
</style>
<style type="text/css">
.abtn {color:#039;font:normal 12px Tahoma;}
.ico { height: 24px; width: 24px; vertical-align:middle; text-align:center;
}
.ico2 { height: 24px; width: 27px; vertical-align:middle; text-align:center;
}
.ico3 { height: 24px; width: 25px; vertical-align:middle; text-align:center;
}
.ico4 { height: 24px; width: 8px; vertical-align:middle; text-align:center;
}
body{
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background:#fff;
}
p {margin:0;padding:0;}
</style>
</head>
<body onload="OnLoad();try{parent.HtmlEditor_Onload();}catch(e){}">
<table id="tmp" width="100%" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #81a9ce;background:#f2f7fb;">
<tr>
<td height="26" style="padding-left:7px;border:1px solid #fff;"><table border="0" cellspacing="0" cellpadding="0" >
<tr>
<td>
<script>
var dt=
[ ["0 20px 20px 0" ,"-10px 0 0 0","加粗" ,"Bold" ]
,["0 40px 20px 20px","-10px 0 0 0","斜体" ,"Italic"]
,["0 60px 20px 40px","-10px 0 0 0","下划线","Underline"]
];
var a = (commHead + 'onclick="ExecCmd(\'$font$\');"' + commFunc + ' />').split("$");
output(dt,a);
a = (commHeadMask + ' name="tool_mask"/>').split("$");
output(dt,a);
</script>
<img src="./images/editoricon.gif" style="position:absolute;clip:rect(0 322px 20px 320px);margin:-10px 0 0 -255px;" />
<script>
var dt =
[
[ "0 80px 20px 60px" ,"-9px 0 0 17px","字体","imgFontface","fontface",87]
,[ "0 100px 20px 80px","-8px 0 0 24px","字号","imgFontsize","fontsize",115]
];
var a = (sComm + 'id="$id$" onClick=\'SaveEvent(event);DispBoard("$display$","","$left$");\' />').split("$");
output(dt,a);
a = (commHeadMask + ' name="tool_mask"/>').split("$");
output(dt,a);
</script>
<img src="./images/editoricon.gif" style="position:absolute;clip:rect(0 322px 20px 320px);margin:-10px 0 0 -138px;" />
<script>
var dt =
[
[ "0 120px 20px 100px","-8px 0 0 88px","左对齐","Justifyleft"]
,[ "0 140px 20px 120px","-8px 0 0 88px","中间对齐","Justifycenter"]
,[ "0 160px 20px 140px","-8px 0 0 89px","右对齐","Justifyright"]
];
var a = (sComm + 'onclick="ExecCmd(\'$format$\')" />').split("$");
output(dt,a);
a = (commHeadMask + ' name="tool_mask"/>').split("$");
output(dt,a);
</script>
<img src="./images/editoricon.gif" style="position:absolute;clip:rect(0 322px 20px 320px);margin:-10px 0 0 -67px;" alt="间隔线" />
<script>
var dt =
[
[ "0 180px 20px 160px","-8px 0 0 101px","数字编号","Insertorderedlist"]
,[ "0 200px 20px 180px","-8px 0 0 106px","项目编号","Insertunorderedlist"]
,[ "0 220px 20px 200px","-8px 0 0 108px","增加缩进","Outdent"]
,[ "0 240px 20px 220px","-8px 0 0 109px","减少缩进","Indent"]
,'<img src="./images/editoricon.gif" style="position:absolute;clip:rect(0 322px 20px 320px);margin:-10px 0 0 34px;" alt="间隔线" />'
];
var a = (sComm + 'onclick="ExecCmd(\'$format$\')" />').split("$");
output(dt,a);
a = (commHeadMask + ' name="tool_mask"/>').split("$");
output(dt,a);
</script>
<script>
var dt =
[
[ "0 260px 20px 240px","-8px 0 0 -108px","字体颜色","OnForeColor(event)"]
,[ "0 280px 20px 260px","-8px 0 0 -104px","背景颜色","OnBackColor(event)"]
,[ "0 300px 20px 280px","-8px 0 0 81px","增加链接","addHyperLink()"]
];
var fcL=141,bcL=165;
var a = (sComm + ' onclick="$onclick$" />').split("$");
output(dt,a);
a = (commHeadMask + ' name="tool_mask"/>').split("$");
output(dt,a);
</script>
<script>
var dt =
[
[ "0 380px 20px 362px","-8px 0 0 24px","表情","OnMo(event)"]
];
var a = (sComm + ' onclick="$onclick$" />').split("$");
output(dt,a);
a = (commHeadMask + ' name="tool_mask"/>').split("$");
output(dt,a);
</script>
<script>
var dt =
[
[ "0 362px 20px 322px","-8px 0 0 90px","上传图片","addImage()"]
];
var a = (sComm + ' onclick="$onclick$" id="add_pic_id" />').split("$");
output(dt,a);
a = (commHeadMask + ' id="add_pic_mask_id"/>').split("$");
output(dt,a);
EnableToolBar(0);
</script>
</td>
<td width="1%" nowrap style="padding-left:18px;"><div id="htmlbtn" onclick="ChangeEditor();"><a class="abtn" href="javascript:void(0);" title="编辑HTML源码"><HTML模式></a></div>
<script> var l=parent.location+"";if(l.indexOf("setting")==-1){document.getElementById("htmlbtn").style.display = "none";}
</script>
</td>
</tr>
</table></td>
</tr>
</table>
<div style="width:144px;height:100px;position:absolute;top:50px;left:50px;display:none" ID="dvForeColor" onblur="BrdBlur();">
<TABLE CELLPADDING=0 CELLSPACING=0 style="border:1px #888888 solid" width="218" height="25">
</TABLE>
</div>
<div style="width:100px;height:100px;position:absolute;display:none;top:-500px;left:-500px" ID="dvPortrait" onblur="BrdBlur();"></div>
<div id="fontface" style="z-index:99; padding:1px; display:none; position:absolute;background:#f6f6f6;top:30px;left:0;border:1px solid #888888; width:110px; height:176px;" onblur="BrdBlur();">
<script>
var a =
["'宋体';\">宋体</a>"
,"'黑体';\">黑体</a>"
,"'楷体_GB2312';\">楷书</a>"
,"'幼圆';\">幼圆</a>"
,"'Arial';\">Arial</a>"
,"'Arial Black';\">Arial Black</a>"
,"'Times New Roman';\">Times New Roman</a>"
//,"'Courier';\">Courier</a>"
,"'Verdana';\">Verdana</a>"
];
for(var i=0;i<a.length;i++)
document.write('<a href="javascript:void(0)" onClick="ExecCmd(\'fontname\',(this.innerHTML==\'楷书\')?\'楷体_GB2312\':this.innerHTML);this.parentNode.style.display=\'none\'" class="n" style="font:normal 12px ' + a[i]);
</script>
</div>
<div id="fontsize" style="padding:1px; display:none; position:absolute;top:30px;left:0;background:#f6f6f6; border:1px solid #888888;width:115px; height:138px;line-height:28px" onblur="BrdBlur();">
<script>
var dt =
[
[1,'><font size=1>小</font></a>']
,[2,'><font size=2>中</font></a>']
,[4,'><font size=4>大</font></a>']
,[5,'style="line-height:28px;height:26px"><font size=5>较大</font></a>']
,[6,'style="line-height:36px;height:34px"><font size=6>最大</font></a>']
];
var a = '<a href="javascript:void(0)" onClick="ExecCmd(\'fontsize\',$size$);this.parentNode.style.display=\'none\'" class="n" $end$'.split("$");
output(dt,a);
</script>
</div>
<div style="position:absolute;top:33px;left:149px;display:none;border:1px solid #888888;background:#f6f6f6;" ID="dvMo" onblur="BrdBlur();"></div>
<div id="divEditor">
<table width="100%" border="0" cellspacing="0" cellpa
没有合适的资源?快使用搜索试试~ 我知道了~
一款极精简的仿QQ邮箱网页编辑器
共215个文件
gif:210个
js:3个
url:1个
5星 · 超过95%的资源 需积分: 10 7 下载量 169 浏览量
2012-07-27
17:40:27
上传
评论
收藏 1.7MB RAR 举报
温馨提示
一款极精简的仿QQ邮箱网页编辑器,用的时候肯定得靠自己改里面很多代码才是可以的。
资源推荐
资源详情
资源评论
收起资源包目录
一款极精简的仿QQ邮箱网页编辑器 (215个子文件)
m25.gif 69KB
m7.gif 40KB
m7.gif 33KB
m29.gif 32KB
m1.gif 31KB
m6.gif 31KB
m24.gif 30KB
m22.gif 30KB
m21.gif 30KB
m10.gif 30KB
m10.gif 30KB
m3.gif 29KB
m6.gif 29KB
m14.gif 29KB
m28.gif 28KB
m20.gif 28KB
m29.gif 28KB
m19.gif 28KB
m17.gif 27KB
m14.gif 27KB
m23.gif 27KB
m18.gif 27KB
m1.gif 26KB
m7.gif 26KB
m3.gif 26KB
m31.gif 26KB
m2.gif 25KB
m11.gif 25KB
m8.gif 25KB
m30.gif 25KB
m4.gif 25KB
m31.gif 25KB
m33.gif 25KB
m30.gif 25KB
m26.gif 24KB
m15.gif 24KB
m13.gif 24KB
m28.gif 24KB
m8.gif 23KB
m12.gif 23KB
m9.gif 23KB
m18.gif 23KB
m27.gif 23KB
m4.gif 22KB
m1.gif 22KB
m2.gif 22KB
m8.gif 22KB
m17.gif 22KB
m21.gif 22KB
m20.gif 21KB
m25.gif 21KB
m17.gif 20KB
m22.gif 20KB
m20.gif 18KB
m21.gif 17KB
m12.gif 17KB
m27.gif 17KB
m5.gif 16KB
m33.gif 16KB
m26.gif 16KB
m11.gif 16KB
m10.gif 16KB
m19.gif 16KB
m19.gif 16KB
m15.gif 16KB
m9.gif 15KB
m32.gif 15KB
m3.gif 15KB
m14.gif 14KB
m12.gif 14KB
m2.gif 14KB
m32.gif 12KB
m16.gif 12KB
m5.gif 12KB
m13.gif 12KB
m23.gif 12KB
m24.gif 12KB
m18.gif 11KB
m16.gif 11KB
m15.gif 11KB
m27.gif 11KB
m22.gif 11KB
m26.gif 10KB
m6.gif 9KB
m24.gif 9KB
m29.gif 8KB
m11.gif 8KB
m23.gif 7KB
m13.gif 7KB
m28.gif 6KB
m36.gif 5KB
m12.gif 4KB
m20.gif 4KB
m5.gif 4KB
m15.gif 3KB
m18.gif 3KB
editoricon_mask.gif 3KB
m23.gif 3KB
m16.gif 3KB
m27.gif 3KB
共 215 条
- 1
- 2
- 3
资源评论
- pepiny2015-07-16是个邮件模版编辑页面
GlyphVectory
- 粉丝: 24
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功