日期:2014-5-17 浏览次数:20125次

在一个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=gb2312" />
<title>无标题文档</title>
<link href="../houtaicss/index.css" rel="stylesheet" type="text/css" />







<script>
function show(c_Str)
{if(document.getElementById(c_Str).style.display=='none')
{document.getElementById(c_Str).style.display='block';}
else{document.getElementById(c_Str).style.display='none';}}

</script>





</head>

<body>
<div class="htmain">

<div class="httop">
<div><img src="../images/logo.jpg" /></div>
</div>


<div class="htban"><img src="../images/htban.jpg" /></div>


<div class="cmain">


<div class="cmainl">
<div class="cmainlheader" >
<h2 onclick=show("a0")>我是买家</h2>
</div>
<div id=a0 style="display:none">

<ul>
<li><a href="wdqddd.html">我当前的订单</a></li>
<li><a href="wyqddd.html">我以前的订单</a></li>
<li><a href="wyqddd.html">我收藏的餐厅</a></li>
<li><a href="wyqddd.html">我去过的餐厅</a></li>
</ul>
</div>



<div class="cmainlheader">
<h2 onclick=show("a1")>我是卖家</h2>
</div>
<div id=a1 style="display:none">

<ul>
<li><a href="wyqddd.html">卖家中心</a></li>
</ul>
</div>



<div class="cmainlheader" >
<h2 onclick=show("a2")>我的账户</h2>
</div>
<div id=a2 style="display:none">

<ul>
<li><a href="index.html">个人资料</a></li>
<li><a href="wyqddd.html">修改密码</a></li>
<li><a href="wyqddd.html">返回个人首页</a></li>
</ul>
</div>







</div>






<div class="cmainr">

<iframe src="wdqddd.html" onload="this.height=200"
scrolling="no" frameborder="0" style="border: none;" width="820"
height="" id="vourList" name="vourList">
</iframe>

  </div>













</div>



</div>



<div class="dowbot">
<ul>
<li><a href="#" target="_blank">公司简介</a> |</li>
  <li><a href="#" target="_blank">招贤纳士</a> |</li>
  <li><a href="#" target="_blank">广告服务</a> |</li>
  &l