eWebEditor Manual V11.2 : Developer Guide : Code Examples : Calling byStandard
eWebEditor Home >> eWebEditor Manual V11.2 >> Developer Guide >> Code Examples

3.10.1 Calling byStandard

This example demonstrates the way of calling by standard in eWebEditor. This is also the most commonly used way of calling.

To use this code normally, please set the path of "ewebeditor.htm" to eWebEditor's actual saving path.

This example is packed in the example directory of _example/standard.asp(.php/.aspx/.jsp) in compressed system package.

<HTML>

<HEAD>

<TITLE>eWebEditor : Demo of Calling by Standard</TITLE>

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">

<link rel='stylesheet' type='text/css' href='example.css'>

</HEAD>

<BODY>

 

<p><b>Navigator : <a href="default.asp">Home</a> &gt; Demo of calling by standard</b></p>

<p>This style is default coolblue, the best calling width is 550px and height is 350px!</p>

 

 

<FORM method="post" name="myform" action="retrieve.asp">

<TABLE border="0" cellpadding="2" cellspacing="1">

<TR>

       <TD>Content:</TD>

       <TD>

              <INPUT type="hidden" name="content1" value="">

              <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="Submit">

       <INPUT type=reset value="Reset">

       <INPUT type=button value="View Source" onclick="location.replace('view-source:'+location)">

       </TD>

</TR>

</TABLE>

</FORM>

 

 

</BODY>

</HTML>