主题: 求助各位知不知怎样在这个页面套入kindeditor |
作者: 珍惜你forever, 发布日期: 2011-08-25 14:48:10, 浏览数: 4399 |
<!-- #include file="power.asp" --> <!-- #include file="../inc.asp" --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style type="text/css"> <!-- BODY{ BACKGROUND-COLOR: #E1F4EE; font-size:9pt } .tx1 { height: 20px;font-size: 9pt; border: 1px solid; border-color: #000000; color: #0000FF} --> </style> <title></title> <link href="../../css/css.css" rel="stylesheet" type="text/css"> </head> <!-- #include file="head.asp" --> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <div align="center"> <table width="100%" height="32" border="0" cellpadding="0" cellspacing="0"> <tr> <td background="../../images/b4.gif"> <div align="center"> <table width="150" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="16"> <div align="center"></div></td> <td><div align="center"><strong><font color="#000000"> 添 加 商 品</font></strong></div></td> <td width="16"> <div align="center"></div></td> </tr> </table> </div></td> </tr> </table> <br> <script language=javascript> function FormCheck() { var sHTML = eWebEditor.getHTML(); if (document.form1.proname.value=="") { alert('请填写商品名称'); document.form1.proname.focus(); document.form1.proname.select; return false; } if (sHTML=="") { alert('请填写正文'); return false; } } </script> <table width="95%" border="0" cellpadding="2" cellspacing="1" class="a2"> <form name="form1" action="pro_add_exe.asp" id="form1" method="post" onSubmit="return FormCheck();"> <tr> <td width="100" class="a1"> <div align="right">商品名称:</div></td> <td class="a4"> <input name="proname" type="text" id="proname" size="40">(中文) </td> </tr> <tr> <td width="100" class="a1"> <div align="right">商品分类:</div></td> <td height="25" class="a4"><Iframe src="../csort.asp" width="100%" height="100%" scrolling="no" frameborder="0"></Iframe></td> </tr> <tr> <td colspan="2" class="a1"><div align="center" >商品介绍:(中文)</div></td></tr> <tr> <td align="center" class="a4" colspan="2"> <input type="hidden" name="content" value="<%=Server.HTMLEncode(scontent)%>" id="content"/> <iframe id="eWebEditor" src="../../WebEditor/eWebEditor.asp?id=content&style=standard_coolblue" frameborder="0" scrolling="no" width="600" height="500"></iframe> </td> </tr> <tr> <td width="100" class="a4"> <div align="right">商品大图:</div></td> <td class="a4"><iframe src="upload_pro2.asp" width="450" height="40"></iframe> 上传尺寸宽度等于<%=bImgWidth%>,高度等于<%=bImgHeight%><br> <IMG id=pic_b src="" height=0 width=0 onload="javascript:DrawImage(this);" align="absbottom"> </td> </tr> <tr> <td width="100" class="a1"> <div align="right">页面关键字:</div></td> <td class="a4"> <textarea name="prokeyword" cols="50" rows="10"></textarea> </td> </tr> <tr> <td width="100" class="a1"> <div align="right">页面描述:</div></td> <td class="a4"> <textarea name="prodescription" cols="50" rows="10"></textarea> </td> </tr> <tr> <td class="a1" colspan="2" align="center"> <input type="submit" name="Submit" value="添 加"> <input name="aabb" type="hidden" id="aabb"> </td> </tr> </form> </table> <p> <table cellspacing=0 cellpadding=0 width=60% align=center><tr> <td align=middle>Copyright V2009<br> Powered by <font color=ffffff> <a target=_blank href="http://www.BSGJ.net/" class=aaa><font color=000000>BSGJ.net</font></a></font><br> Script Execution Time:<%=fix((timer()-startime)*1000)%>ms </td></tr></table> </div> </body> </html> 请教下各位要怎么替换掉原来的编辑器,换成kindeditor
之前编辑器的位置在:
<iframe id="eWebEditor" src="../../WebEditor/eWebEditor.asp?id=content&style=standard_coolblue" frameborder="0" scrolling="no" width="600" height="500"></iframe> 要怎么改 才可以?谢谢各位了! |
作者: 香飞, 发布日期: 2011-08-25 16:38:31 |
看下载文件包中的asp文件夹中的demo.asp |
回复 |