经典论坛 » 前台制作与脚本专栏 » 双鱼文本编辑器mozart0封装版
匪徒田老大
荣誉管理团队
查看详细资料
TOP
小小菜鸟
钻石会员
专长 PHP,.NET,AS
查看个人网站
老饕
版主
初级会员
脚本之家
中级会员
专长 JS,PHP,ASP
新手上路
蔚蓝的故乡
高级会员
专长 前端制作,PHP,MySQL
酒酣几度
专长 网页设计,前端制作,PHP
size
专长 JS,C#,MSSQL
专长 前端制作,PHP,ASP
<html> <head> <link rel=stylesheet href=http://mozart0.uni.cc/editor/editor.css> <script charset=gb2312 src=http://mozart0.uni.cc/editor/editor.js></script> <script> window.onload=function(){ var myEditor=createEditor(ospan,"http://mozart0.uni.cc/editor/"); var theForm=document.forms["form1"]; myEditor.setHtml(theForm.html.value); theForm.attachEvent("onsubmit",function(){ theForm.html.value=myEditor.getHtml(); }); } </script> </head> <body> <span id=ospan></span> <form name=form1 method=post> <textarea style=display:none name=html><?=initValue?></textarea> <input type=submit value=submit> </form> </body> </html>
流光恋羽
专长 前端制作,JS,ASP