| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1205 人关注过本帖
标题:求助 后台ASP编辑器 不显示了
只看楼主 加入收藏
夜幕下的农村
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2008-6-26
结帖率:100%
收藏
 问题点数:0 回复次数:1 
求助 后台ASP编辑器 不显示了
朋友帮做的一个ASP网站小后台 里面有个在线编辑器 就象WORD的编辑功能一样 我把这个后台当成通用的后台了 在别的网站看都好使 但昨天新套了一个页面 编辑器在后台就怎么也不显示 这是为什么呀  下面是后台的图

这个是 调用的 代码 <table width="100%" border="0" cellspacing="0" cellpadding="5">
            <tr>
              <td>
              <textarea name="Content" style="display:none"></textarea>
              <% If Editor=0 Then %>
              <iframe ID="Editor" name="Editor" src="HtmlEditor/htmleditor.html?ID=Content" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:320px;width:100%"></iframe>
              <% Else %>
              <iframe ID="Content" src="editor/ewebeditor.asp?id=Content" frameborder="0" scrolling="no" width="100%" HEIGHT="425"><% End If %></iframe>              </td>
            </tr>
          </table>

2222.gif (33.42 KB)
图片附件: 游客没有浏览图片的权限,请 登录注册
搜索更多相关主题的帖子: 编辑器 后台 ASP 
2008-11-01 11:27
bntiger
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2008-11-2
收藏
得分:0 
<% If Editor=0 Then %>
              <iframe ID="Editor" name="Editor" src="HtmlEditor/htmleditor.html?ID=Content" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:320px;width:100%"></iframe>
              <% Else %>
              <iframe ID="Content" src="editor/ewebeditor.asp?id=Content" frameborder="0" scrolling="no" width="100%" HEIGHT="425"><% End If %></iframe>
有问题啊
第一:<% End If %>在</iframe>前就结束拉。肯定出不来啊。
第二:你调用的不是一个编辑器啊,一个是 HtmlEditor/htmleditor.html,一个是editor/ewebeditor.asp这个啊。确定都存在,建议统一。
修改为:
<table width="100%" border="0" cellspacing="0" cellpadding="5">
            <tr>
              <td>
              <textarea name="Content" style="display:none"></textarea>
              <% If Editor=0 Then %>
              <iframe ID="Editor" name="Editor" src="editor/ewebeditor.asp?id=Content" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:320px;width:100%"></iframe>
              <% Else %>
              <iframe ID="Content" src="editor/ewebeditor.asp?id=Content" frameborder="0" scrolling="no" width="100%" HEIGHT="425">
</iframe>  <% End If %>            </td>
            </tr>
          </table>
希望你对有所帮助

编程经典到中国IT门户:http://www..cn
免费快速电影:http://www.
2008-11-02 15:32
快速回复:求助 后台ASP编辑器 不显示了
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014065 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved