+ -
当前位置:首页 → 问答吧 → 如何添加代码

如何添加代码

时间:2011-09-21

来源:互联网

<%   Dim oFCKeditor
  Set oFCKeditor = New FCKeditor
  oFCKeditor.ToolbarSet = "Default" ’使用工具条 
  oFCKeditor.Width = "100%" ’宽度
  oFCKeditor.Height = "15" ’高度
  oFCKeditor.Value =rs("txtcontent") ’源文件
  oFCKeditor.Create "txtcontent" ’文本框名称
 %>
这段代码,如何添加到文件里?添加到什么位置呢?
  <tr>
  <td width="15%" align="right" height="30"><b>文章标题:</b></td>
  <td width="85%" height="30"><input type="text" name="txttitle" size="70"
  class="smallinput" maxlength="100"></td>
  </tr>
  <tr>
  <td width="15%" align="right" height="30"> </td>
  <td width="85%" height="30">
<BR>
HTML代码标签:</td>
  </tr>


  <tr>
  <td width="15%" align="right" valign="top"><b>文章内容:</b></td>
  <td width="85%"><textarea rows="15" name="txtcontent" cols="60" class="smallarea"></textarea></td>
  </tr>

作者: hellowyqnet   发布时间: 2011-09-21

<textarea rows="15" name="txtcontent" cols="60" class="smallarea"></textarea>

这个不用了 


VBScript code
  <tr>
  <td width="15%" align="right" height="30"><b>文章标题:</b></td>
  <td width="85%" height="30"><input type="text" name="txttitle" size="70"
  class="smallinput" maxlength="100"></td>
  </tr>
  <tr>
  <td width="15%" align="right" height="30"> </td>
  <td width="85%" height="30">
<BR>
HTML代码标签:</td>
  </tr>


  <tr>
  <td width="15%" align="right" valign="top"><b>文章内容:</b></td>
  <td width="85%"><%   Dim oFCKeditor
  Set oFCKeditor = New FCKeditor
  oFCKeditor.ToolbarSet = "Default" ’使用工具条  
  oFCKeditor.Width = "100%" ’宽度
  oFCKeditor.Height = "15" ’高度
  oFCKeditor.Value =rs("txtcontent") ’源文件
  oFCKeditor.Create "txtcontent" ’文本框名称
 %></td>
  </tr>

作者: myshachong   发布时间: 2011-09-21