大家先看图片。
现在的后台格式这个样子的:
我想把这个:
替换成这个iframe格式的:
源代码是这个样子的:
<script language='javascript'>
InitPage();
if($Nav()!="IE") ShowObj('adset');function MakeVideo()
{
   var startNum = 2;
   var Videolist = document.getElementById("Videolist");
   var endNum =  document.form1.videonum.value;
   if(endNum>100) endNum = 100;
   Videolist.innerHTML = "";
   for(startNum;startNum<=endNum;startNum++){
   Videolist.innerHTML += "<input name=\"videoname["+startNum+"]\" type=\"text\" id=\"videoname"+startNum+"\" value=\"第"+startNum+"集\" size=\"10\" />&nbsp;&nbsp;\r\n";
   Videolist.innerHTML += "<input type=\"text\" id=\"videourl"+startNum+"\" name=\"videourl["+startNum+"]\" value=\"\" style=\"width:250px\"/>\r\n";
   Videolist.innerHTML += "<input name=\"sel"+startNum+"\" type=\"button\" id=\"sel"+startNum+"\" value=\"选取\" onclick=\"SelectMedia('form1.videourl"+startNum+"')\" class=\"inputbut\" /><br/>\r\n";
 }
}
</script><td class="bline">集数设置:
          <input name="videonum" type="text" id="videonum" value="5" size="5" />
          <input type="button" name="button2" id="button2" onClick="MakeVideo();" value="提交" class="inputbut"/></td>
       </tr>
    </table></td>
    </tr> <tr>
      <td height="24"  bgcolor="#F1F5F2" class="bline2"><strong>&nbsp;视频列表:</strong></td>
    </tr>
    <tr>
      <td height="24"  class="bline">
      <table width="800" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px;">
       <tr> 
        <td width="90" class="bline" height='24'>&nbsp;视频列表:</td>
        <td class="bline">
           <input name="videoname[1]" type="text" id="videoname1" value="第1集" size="10" />&nbsp;&nbsp;
           <input type="text" id="videourl1" name="videourl[1]" value="http://" style="width:250px"/>
              <input name="sel1" type="button" id="sel1" value="选取" onClick="SelectMedia('form1.videourl1')" class="inputbut" />
              <div id="Videolist"></div>         </td>
       </tr>
    </table>      </td>
    </tr>
    <tr>
      <td height="24"  bgcolor="#F1F5F2" class="bline2"><strong>剧情介绍:</strong></td>
    </tr>
    <tr>
      <td height="24"  class="bline">
        <table width="800" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="90">&nbsp;附加选项:</td>
            <td><input name="remote" type="checkbox" class="np" id="remote" value="1"<?php if($cfg_rm_remote=='Y') echo ' checked'; ?>>
              下载远程图片和资源
              <input name="dellink" type="checkbox" class="np" id="dellink" value="1"<?php if($cfg_arc_dellink=='Y') echo ' checked'; ?>>
              删除非站内链接
              <input name="autolitpic" type="checkbox" class="np" id="autolitpic" value="1"<?php if($cfg_arc_autopic=='Y') echo ' checked'; ?>>
              提取第一个图片为缩略图 </td>
          </tr>
        </table>      </td>
    </tr>
    <tr>
      <td height="100"  class="bline">
        <?php
        GetEditor("plot","",250,"Small");
?>    </td>
    </tr>
  </table>
希望高手帮忙。谢谢了。

解决方案 »

  1.   

    补充一下:<td height="100" class="bline">
      <?php
      GetEditor("plot","",250,"Small");
    ?> </td>
      </tr>
      </table>这一段代码在htm上面显示的格式是:
    <tr> 
          <td height="100"  class="bline"> 
            <input type="hidden" id="plot" name="plot" value="" style="display:none" /><input type="hidden" id="plot___Config" value="FullPage=false" style="display:none" /><iframe id="plot___Frame" src="/include/FCKeditor/editor/fckeditor.html?InstanceName=plot&amp;Toolbar=Small" width="100%" height="250" frameborder="0" scrolling="no"></iframe>    </td> 
        </tr> 
      </table> 
      

  2.   

    就是用js调用多个iframe的问题。额无限的。