RT,FF中运行正常,IE中就一直报这个错,请各位帮忙看下,附上代码谢谢<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xn="http://www.renren.com/2009/xnml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="expires" CONTENT="0">
<title>魔幻王国</title>
<meta property="xn:page_id" content="http://page.renren.com/mohuanwang" />
<meta property="og:title" content="魔幻王国" />
<meta property="og:type" content="book" />
<meta property="og:url" content="http://apps.renren.com/mohuanwang/" />
<meta property="og:image" content="http://fmn.rrfmn.com/fmn046/20110513/1700/p_main_IUya_4966000221805c70.jpg" />
<meta property="og:site_name" content="人人网" />
<meta property="og:description" content="一款实时策略对战为主,结合了城市建设,英雄合成、英雄养成、PVE、PVP、SNS等多种游戏元素于一身的魔幻类综合型游戏。" />
</head>
<body > <div class="tip">
<div id="marquee">
<!-- <ul id="data"></ul>
<marquee id="a" onmousemove="a.stop()" onmouseout="a.start()" >
<div align="center">1111111111111111111111111111111111</div>
</marquee> -->
<div><a href="#">文明游戏,礼貌待人!</a></div>
<div>合理安排时间,按时收菜</div>
<div>记得训练英雄,日常</div>
<div>被人欺负了可以充金币,也可以喊人- -!</div> </div>
<div id="like">
<iframe src="http://www.connect.renren.com/like?url=http%3A%2F%2Fapps.renren.com%2Fmagickingdom%2Findex.php&showfaces=false" style="width:65px;height:20px;" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
</div>
</div>
<ul class="ul">
<li class="my">
<a id="defaultpage" class="png" href="http://apps.renren.com/mohuanwang/" target="_top">
</a>
</li>
<li class="linvite">
<a class="my" id="renreninvite" href="#" onclick="javascript:display()">
</a>
</li>
<li class="gold">
<a class="my" href="#" onclick="alert('对不起,此功能尚未开放,敬请期待!')" ></a>
</li>
<li class="forum">
<a class="my" href="#" onclick="alert('对不起,此功能尚未开放,敬请期待!')">
</a>
</li> <!--新标签打开!-->
<li class="page">
<a class="my" href="http://page.renren.com/mohuanwang" target="_blank">
</a>
</li>
<li class="faq">
<a class="png" href="#" onclick="javascript:alert('对不起,此功能尚未开放,敬请期待!')">
</a>
</li>
</ul>
<div id="friends" style=" display:none;background:none repeat scroll 0 0 #FFFFFF;width:700px;height:600px;position:absolute;top:85px;left:50px;margin: 0pt auto;border:2px solid #78470C; z-index:9" >
<iframe id="friendframe" src="http://lequgame.gicp.net:81/renrenapp1/invite.php" name="friendframe" style="aho:expression(autoResize());" width="100%" frameborder="0" scrolling="no" width="700px" height="600px">
</iframe> </div>
<div id="pay" style=" display:none;background:none repeat scroll 0 0 #FFFFFF;width:700px;height:600px;position:absolute;top:85px;left:50px;margin: 0pt auto;border:2px solid #78470C; z-index:9">
<iframe src="pay_test.php?sk=<?php echo $_GET['xn_sig_session_key'];?>&uid=<?php echo $_GET['xn_sig_user']; ?>" width='605px' height='600px' scrolling='no' marginwidth='0' framespacing='0' marginheight='0' frameborder='0'>
</iframe>
</div>
<div id="flashcontent">
<iframe id="flash" border="0" frameborder="0" scrolling="no" style="height:560px;width:760px;overflow-x: hidden;border: 0pt none;" src="/mk/load.html?mnick=<?php echo $data_reg['uname'];?>&key=<?php echo $data_reg['password'];?>&site=<?php echo $data_reg['reg_site_no'];?>&sid=<?php echo time()?>">
</iframe>
</div>
<div class="talk">
<iframe scrolling="no" frameborder="0" src="http://www.connect.renren.com/widget/liveWidget?api_key=bccd1a30a77749b7a0368e8370ca8197&xid=default&url=http%3A%2F%2Fhttp%3A%2F%2Fapps.renren.com%2Fmagickingdom%2Frr_interface.php&desp=%E5%A4%A7%E5%AE%B6%E6%9D%A5%E8%AE%A8%E8%AE%BA"
style="width: 760px; height: 312px;"></iframe>
</div>
<div class="copyright">
<div>
珠海乐趣科技有限公司-提供全部技术支持<br />
未成年人请自觉离开PK系统|<a href="http://www.eafifaonline2.com/xinwen/guanfang/157092.shtml" target="_blank">互联网文化单位暂行规定第十七条</a>|本游戏已加载防沉迷系统|<a
href="mailto:[email protected]">文化部网络游戏举报信箱</a>
</div>
</div>
<script type="text/javascript">
XN_RequireFeatures(["Connect"], function()
{
XN.Main.init("bf5f6291b55b4164800f31179fe7ee6b", "/renrenapp/xd_receiver.html");
});
</script>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xn="http://www.renren.com/2009/xnml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="expires" CONTENT="0">
<title>魔幻王国</title>
<meta property="xn:page_id" content="http://page.renren.com/mohuanwang" />
<meta property="og:title" content="魔幻王国" />
<meta property="og:type" content="book" />
<meta property="og:url" content="http://apps.renren.com/mohuanwang/" />
<meta property="og:image" content="http://fmn.rrfmn.com/fmn046/20110513/1700/p_main_IUya_4966000221805c70.jpg" />
<meta property="og:site_name" content="人人网" />
<meta property="og:description" content="一款实时策略对战为主,结合了城市建设,英雄合成、英雄养成、PVE、PVP、SNS等多种游戏元素于一身的魔幻类综合型游戏。" />
</head>
<body > <div class="tip">
<div id="marquee">
<!-- <ul id="data"></ul>
<marquee id="a" onmousemove="a.stop()" onmouseout="a.start()" >
<div align="center">1111111111111111111111111111111111</div>
</marquee> -->
<div><a href="#">文明游戏,礼貌待人!</a></div>
<div>合理安排时间,按时收菜</div>
<div>记得训练英雄,日常</div>
<div>被人欺负了可以充金币,也可以喊人- -!</div> </div>
<div id="like">
<iframe src="http://www.connect.renren.com/like?url=http%3A%2F%2Fapps.renren.com%2Fmagickingdom%2Findex.php&showfaces=false" style="width:65px;height:20px;" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
</div>
</div>
<ul class="ul">
<li class="my">
<a id="defaultpage" class="png" href="http://apps.renren.com/mohuanwang/" target="_top">
</a>
</li>
<li class="linvite">
<a class="my" id="renreninvite" href="#" onclick="javascript:display()">
</a>
</li>
<li class="gold">
<a class="my" href="#" onclick="alert('对不起,此功能尚未开放,敬请期待!')" ></a>
</li>
<li class="forum">
<a class="my" href="#" onclick="alert('对不起,此功能尚未开放,敬请期待!')">
</a>
</li> <!--新标签打开!-->
<li class="page">
<a class="my" href="http://page.renren.com/mohuanwang" target="_blank">
</a>
</li>
<li class="faq">
<a class="png" href="#" onclick="javascript:alert('对不起,此功能尚未开放,敬请期待!')">
</a>
</li>
</ul>
<div id="friends" style=" display:none;background:none repeat scroll 0 0 #FFFFFF;width:700px;height:600px;position:absolute;top:85px;left:50px;margin: 0pt auto;border:2px solid #78470C; z-index:9" >
<iframe id="friendframe" src="http://lequgame.gicp.net:81/renrenapp1/invite.php" name="friendframe" style="aho:expression(autoResize());" width="100%" frameborder="0" scrolling="no" width="700px" height="600px">
</iframe> </div>
<div id="pay" style=" display:none;background:none repeat scroll 0 0 #FFFFFF;width:700px;height:600px;position:absolute;top:85px;left:50px;margin: 0pt auto;border:2px solid #78470C; z-index:9">
<iframe src="pay_test.php?sk=<?php echo $_GET['xn_sig_session_key'];?>&uid=<?php echo $_GET['xn_sig_user']; ?>" width='605px' height='600px' scrolling='no' marginwidth='0' framespacing='0' marginheight='0' frameborder='0'>
</iframe>
</div>
<div id="flashcontent">
<iframe id="flash" border="0" frameborder="0" scrolling="no" style="height:560px;width:760px;overflow-x: hidden;border: 0pt none;" src="/mk/load.html?mnick=<?php echo $data_reg['uname'];?>&key=<?php echo $data_reg['password'];?>&site=<?php echo $data_reg['reg_site_no'];?>&sid=<?php echo time()?>">
</iframe>
</div>
<div class="talk">
<iframe scrolling="no" frameborder="0" src="http://www.connect.renren.com/widget/liveWidget?api_key=bccd1a30a77749b7a0368e8370ca8197&xid=default&url=http%3A%2F%2Fhttp%3A%2F%2Fapps.renren.com%2Fmagickingdom%2Frr_interface.php&desp=%E5%A4%A7%E5%AE%B6%E6%9D%A5%E8%AE%A8%E8%AE%BA"
style="width: 760px; height: 312px;"></iframe>
</div>
<div class="copyright">
<div>
珠海乐趣科技有限公司-提供全部技术支持<br />
未成年人请自觉离开PK系统|<a href="http://www.eafifaonline2.com/xinwen/guanfang/157092.shtml" target="_blank">互联网文化单位暂行规定第十七条</a>|本游戏已加载防沉迷系统|<a
href="mailto:[email protected]">文化部网络游戏举报信箱</a>
</div>
</div>
<script type="text/javascript">
XN_RequireFeatures(["Connect"], function()
{
XN.Main.init("bf5f6291b55b4164800f31179fe7ee6b", "/renrenapp/xd_receiver.html");
});
</script>
</body>
</html>
就是这东西吧 。
看看这个网页的编码是否一致
的编码都是utf-8。请问还可能存在什么问题?renrenapp/xd_receiver.html代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<script src="http://static.connect.renren.com/js/v1.0/XdCommReceiver.jsp" type="text/javascript">
</script>
</body>
</html>
解决办法
先把body内容和 javascript都删掉,看有没有问题
没有问题再一点一点的加,看问题出在哪