我在网页中插入了一段代码,但在设计视图中无法显示,是灰色的条状,怎么办?

<iframeid="baiduframe"marginwidth="0"marginheight="0"scrolling="no"framespacing="0"vs... <iframe id="baiduframe" marginwidth="0" marginheight="0" scrolling="no"
framespacing="0" vspace="0" hspace="0" frameborder="0" width="600" height="75"
src="http://unstat.baidu.com/bdun.bsc?tn=shanghaifushi_pg&cv=0&cid=1259302&csid=281&bgcr=ffffff&ftcr=000000&urlcr=0000ff&tbsz=265&sropls=1,2,3,4,5,6,7,9,10,99&insiteurl=www.shanghaifushi.com&defid=99&kwgp=0">
</iframe>
展开
 我来答
百度网友06a556c17
2010-06-03 · 超过77用户采纳过TA的回答
知道小有建树答主
回答量:364
采纳率:0%
帮助的人:214万
展开全部
<!--STATUS OK-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
body{margin:0}
td,div{font-size:12px;line-height:18px}
a:link{color:#0000CC;text-decoration:underline}
a:visited{color:#800080;text-decoration:underline}
a:hover{color:#FF0000;text-decoration:underline}
a.ch:link,a.ch:visited,a.chon:link,a.chon:visited{display:block;float:left;position:relative; width:43px; text-align:center; top:5px;padding:6px 0px 2px 0px;color:#000;text-decoration:none;margin-right:2px;}
a.chon:link,a.chon:visited{color:#000;font-weight:bold;cursor:default;
background:url(http://gimg.baidu.com/unlogo/bg/600x75/btbg-hui-2_03.gif) no-repeat left bottom;}
.ls{margin-top:5px; width:100%;}
.ls td{padding-right:10px}
.fyb{float:left;white-space:nowrap;margin-right:12px}
</style>
</head>
<body>
<script type='text/javascript' src='code/js/fyb_15.js'></script>
<script>
var frmact = new Array();
var frmnm = new Array();
var frmid = new Array();
frmact[0] = "http://news.baidu.com/ns";
frmact[1] = "http://www.baidu.com/baidu";
frmact[2] = "http://post.baidu.com/f";
frmact[3] = "http://zhidao.baidu.com/q";
frmact[4] = "http://mp3.baidu.com/m";
frmact[5] = "http://image.baidu.com/i";
frmact[6] = "http://bk.baidu.com/w";
frmact[7] = "http://video.baidu.com/v";
frmact[8] = "http://mp3.baidu.com/m";
frmact[9] = "http://www.baidu.com/baidu";

frmnm[0] = "新闻";
frmnm[1] = "网页";
frmnm[2] = "贴吧";
frmnm[3] = "知道";
frmnm[4] = "MP3";
frmnm[5] = "图片";
frmnm[6] = "百科";
frmnm[7] = "视频";
frmnm[8] = "歌词";
frmnm[9] = "站内";

frmid[0] = "1";
frmid[1] = "2";
frmid[2] = "3";
frmid[3] = "4";
frmid[4] = "5";
frmid[5] = "6";
frmid[6] = "7";
frmid[7] = "9";
frmid[8] = "10";
frmid[9] = "99";

var fybClient1 = fybServer_15;

var ch = "";
var tr = "mk3SLVN4HKm";

var paramObj = {
'tn': 'shanghaifushi_pg',
'tr': tr
};
if(ch){
paramObj['ch'] = ch;
}

var queryParam = [];
for (var i in paramObj) {
queryParam.push(i + '=' + paramObj[i]);
}
queryParam = queryParam.join('&');

var sts = 'www.shanghaifushi.com';
var si = sts && sts.split(/(%3b)|;/i)[0];
var defid =99;

//new
function changetab(idx)
{
for (i=0;i<frmact.length;i++) {
if (i==idx) {document.getElementById('sitem_'+i).className="chon";}
else {document.getElementById('sitem_'+i).className="ch";}
}
}

//if (frmid[0] == "1") {var bd_idx=1;}else{var bd_idx=0;}
var bd_idx=defid;

for (var i = frmid.length - 1; i >= 0; i--) {
if (frmid[i] == defid) {
bd_idx = i;
}
}

function bd_chg_idx(idx)
{
bd_idx=idx;
//new
changetab(idx);
}

function addhiddenEle(parentEle, childEleName, childEleValue)
{
for (var i=0; i < childEleName.length; i++) {
var ur = document.createElement("input");
ur.type = "hidden";
ur.name = childEleName[i];
ur.value = childEleValue[i];
parentEle.appendChild(ur);
}
}

function removeallhiddenEle(parentEle)
{
for (var i = parentEle.length - 1; i >= 0; i--) {
var childEle = parentEle.elements[i];
if(childEle.type == "hidden"){
childEle.parentNode.removeChild(childEle);
}
}
}

function gowhere(formname)
{
var url;
var idx = bd_idx;
if (frmact[idx] == null || frmact[idx] == "") idx = "0";
url = frmact[idx];

removeallhiddenEle(formname);

switch(frmid[idx]){
case "1":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "cl";
childEleValue[0] = "2";

childEleName[1] = "ct";
childEleValue[1] = "0";

childEleName[2] = "rn";
childEleValue[2] = "20";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "2":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "tn";
childEleValue[0] = "shanghaifushi_pg";

childEleName[1] = "fyb";
childEleValue[1] = "0";

childEleName.push("tr");
childEleValue.push(tr);

if (ch) {
childEleName.push('ch');
childEleValue.push(ch);
}

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "3":

formname.word.name = "kw";

break;

case "4":

var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "ct";
childEleValue[0] = "17";

childEleName[1] = "pn";
childEleValue[1] = "0";

childEleName[2] = "rn";
childEleValue[2] = "10";

childEleName[3] = "tn";
childEleValue[3] = "ikaslist";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "5":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "ct";
childEleValue[0] = "134217728";

childEleName[1] = "lm";
childEleValue[1] = "-1";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "6":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "ct";
childEleValue[0] = "201326592";

childEleName[1] = "lm";
childEleValue[1] = "-1";

childEleName[2] = "cl";
childEleValue[2] = "2";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;
case "7":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "ct";
childEleValue[0] = "17";

childEleName[1] = "lm";
childEleValue[1] = "0";

childEleName[2] = "tn";
childEleValue[2] = "baiduWikiSearch";

childEleName[3] = "pn";
childEleValue[3] = "0";

childEleName[4] = "rn";
childEleValue[4] = "0";

childEleName[5] = "submit";
childEleValue[5] = "search";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "8":
return false;

case "9":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "ct";
childEleValue[0] = "301989888";

childEleName[1] = "pn";
childEleValue[1] = "0";

childEleName[2] = "rn";
childEleValue[2] = "20";

childEleName[3] = "db";
childEleValue[3] = "0";

childEleName[4] = "s";
childEleValue[4] = "0";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;
case "10":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "f";
childEleValue[0] = "ms";

childEleName[1] = "rn";
childEleValue[1] = "10";

childEleName[2] = "tn";
childEleValue[2] = "baidump3lyric";

childEleName[3] = "ct";
childEleValue[3] = "150994944";

childEleName[4] = "lm";
childEleValue[4] = "-1";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "11":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "ie";
childEleValue[0] = "gb2312";

childEleName[1] = "ct";
childEleValue[1] = "1048576";

childEleName[2] = "cl";
childEleValue[2] = "3";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;
case "12":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "tn";
childEleValue[0] = "baiduyp";

childEleName[1] = "ct";
childEleValue[1] = "553648128";

childEleName[2] = "rn";
childEleValue[2] = "20";

childEleName[3] = "a";
childEleValue[3] = "-1";

childEleName[4] = "lm";
childEleValue[4] = "-1";

childEleName[5] = "z";
childEleValue[5] = "-1";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "13":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "tn";
childEleValue[0] = "baiduchild";

childEleName[1] = "cl";
childEleValue[1] = "3";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "14":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "tn";
childEleValue[0] = "baidujiaoyu";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "15":

var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "if";
childEleValue[0] = "0";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;
case "16":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "tn";
childEleValue[0] = "baidubook";

childEleName[1] = "ct";
childEleValue[1] = "2097152";

childEleName[2] = "si";
childEleValue[2] = "book.baidu.com";

childEleName[3] = "cl";
childEleValue[3] = "3";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;
case "17":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "tn";
childEleValue[0] = "baiduguoxue";

childEleName[1] = "ct";
childEleValue[1] = "2097152";

childEleName[2] = "si";
childEleValue[2] = "guoxue.baidu.com";

childEleName[3] = "cl";
childEleValue[3] = "3";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;
case "18":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "type";
childEleValue[0] = "0";

childEleName[1] = "sort";
childEleValue[1] = "1";

childEleName[2] = "entry";
childEleValue[2] = "1";

childEleName[3] = "region";
childEleValue[3] = "0";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "19":
var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "tn";
childEleValue[0] = "baidugov";

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

case "99":

var childEleName = new Array();
var childEleValue = new Array();

childEleName[0] = "tn";
childEleValue[0] = "shanghaifushi_pg";

childEleName[1] = "cl";
childEleValue[1] = "3";

childEleName[2] = "ct";
childEleValue[2] = "2097152";

childEleName[3] = "si";
childEleValue[3] = si;

childEleName[4] = "sts";
childEleValue[4] = sts;

childEleName.push("tr");
childEleValue.push(tr);

if (ch) {
childEleName.push('ch');
childEleValue.push(ch);
}

addhiddenEle(formname, childEleName, childEleValue);

formname.word.name = "word";

break;

default:
return false;
}

formname.action = url;
return true;
}
</script>

<table cellpadding="0" cellspacing="0" border="0" height="100%" width="100%"><tr><td>
<form name="search_form" target="_blank" id="search_form" onsubmit="return gowhere(this)">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #C9C9C9">
<tr>
<td nowrap style="padding-top:3px">
<div style="padding-bottom:2px;border-bottom:1px solid #C9C9C9;padding-left:8px; height:auto!important; height:100%; ">
<script>
document.write(
'<a href="http://www.baidu.com/index.php?'
+queryParam
+'" target="_blank" style="float:left"><img src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/unlogo01.gif" border="0" alt="百度中文搜索引擎" style="margin-right:10px"></a>'
);
</script>
<span id="tops" name="tops"></span>
<script>
content = '';
for (i = 0; i < frmact.length; i++)
{
if (frmid[i] == defid) {content += '<a onClick="bd_chg_idx(' + i + '); return false;" onfocus="this.blur()" class="chon" href="#" id="sitem_' + i + '" >' + frmnm[i] + '</a>';}
else {content += '<a onClick="bd_chg_idx(' + i + '); return false;" onfocus="this.blur()" class="ch" href="#" id="sitem_' + i + '" >' + frmnm[i] + '</a>';}
}
document.getElementById('tops').innerHTML = content;
</script>
<br clear="all">
</div>
<table width="100%" height="41" border="0" cellpadding="0" cellspacing="0" style="background:url(http://gimg.baidu.com/unlogo/bg/600x75/tbg-hui-2.gif) repeat-x left bottom #fff;padding-left:8px">
<tr>
<td nowrap>
<input id="word" name="word" value="请输入关键字" style="width:265px; font-size:14px; border:1px solid #D4D4D4;padding:0px 3px; line-height:23px; height:25px;" onMouseOver="this.focus()" onBlur="if (this.value =='') this.value='请输入关键字'" onFocus="this.select()" onClick="if (this.value=='请输入关键字') this.value=''"> <input type="submit" class="sb" value="搜索" style="width:39px;height:25px;margin-left:1px;font-size:14px;"></td>
<td nowrap>
<div style="height:18px;overflow:hidden;">
<div class="fyb"><a href="http://365.baidu.com" target=_blank>蓝天365</a></div>
<script>
var fybHTML = [];
for (var i = 0; i < 10; i++) {
fybHTML.push(
'<div class="fyb"><a href="http://www.baidu.com/s?wd=',
fybClient1[i],
'&',
queryParam,
'" target="_blank">',
fybClient1[i],
'</a></div>'
);
}
document.write(fybHTML.join(''));
</script>
<br clear="all">
</div>
</td>
</tr>
</table>

</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<script>
bd_chg_idx(bd_idx);
</script>
</body>
</html>
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
博思aippt
2024-07-20 广告
作为深圳市博思云创科技有限公司的工作人员,对于Word文档生成PPT的操作,我们有以下建议:1. 使用另存为功能:在Word中编辑完文档后,点击文件->另存为,选择PowerPoint演示文稿(*.pptx)格式,即可将文档内容转换为PPT... 点击进入详情页
本回答由博思aippt提供
lanniaogzs
2010-06-02 · TA获得超过409个赞
知道小有建树答主
回答量:1190
采纳率:0%
帮助的人:1026万
展开全部
<iframe></iframe> 这个本来就是静态页面的包含代码,在设计视图中当然是无法显示的,只有在浏览器当中才能够显示
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
松琪hp
2010-06-02 · TA获得超过1584个赞
知道小有建树答主
回答量:836
采纳率:0%
帮助的人:603万
展开全部
貌似不支持iframe.
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(1)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式