www.gusucode.com > 艺帆全站DIV+CSS体育用品公司网站源码 1.7.5源码程序 > i5808/WebEditor/_example/standard.asp
<HTML> <HEAD> <TITLE>eWebEditor : 标准调用示例</TITLE> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <link rel='stylesheet' type='text/css' href='example.css'> </HEAD> <BODY> <p><b>导航 : <a href="default.asp">示例首页</a> > 标准调用示例</b></p> <p>此例演示了eWebEditor的标准调用方法,也是最常用的调用方法。</p> <p>本样式使用系统的默认样式(coolblue),最佳调用宽度550px,最佳调用高度350px。</p> <FORM method="post" name="myform" action="retrieve.asp"> <TABLE border="0" cellpadding="2" cellspacing="1"> <TR> <TD>编辑内容:</TD> <TD> <% ' 定义变量 Dim html ' 赋值,如从数据库取值 ' html = rs("field") html = "<P align=center><FONT color=#ff0000><FONT face='Arial Black' size=7><STRONG>eWeb<FONT color=#0000ff>Editor</FONT><FONT color=#000000><SUP>TM</SUP></FONT></STRONG></FONT></FONT></P><P align=right><FONT style='BACKGROUND-COLOR: #ffff00' color=#ff0000><STRONG>eWebEditor V5.5 for ASP 简体中文商业版</STRONG></FONT></P><P>本样式为系统默认样式(coolblue),最佳调用宽度550px,高度350px!</P><P>还有一些高级调用功能的例子,你可以通过导航进入示例首页查看。</P><P><B><TABLE borderColor=#ff9900 cellSpacing=2 cellPadding=3 align=center bgColor=#ffffff border=1><TBODY><TR><TD bgColor=#00ff00><STRONG>看到这些内容,且没有错误提示,说明安装已经正确完成!</STRONG></TD></TR></TBODY></TABLE></B></P>" ' 字符转换,主要针对单双引号等特殊字符 ' 只有在给编辑器赋值时才有必要使用此字符转换函数,入库及出库显示都不需要使用此函数 html = Server.HtmlEncode(html) %> <INPUT type="hidden" name="content1" value="<%=html%>"> <IFRAME ID="eWebEditor1" src="../ewebeditor.htm?id=content1&style=coolblue" frameborder="0" scrolling="no" width="550" height="350"></IFRAME> </TD> </TR> <TR> <TD colspan=2 align=right> <INPUT type=submit value="提交"> <INPUT type=reset value="重填"> <INPUT type=button value="查看源文件" onclick="location.replace('view-source:'+location)"> </TD> </TR> </TABLE> </FORM> </BODY> </HTML>