日期:2014-05-17  浏览次数:20604 次

如何用iframe嵌套frameset之后,实现整个iframe框架出现滚动条,而不是frameset里的每个frame出现滚动条!
我主要目的是为了让整个frameset框架出现滚动条,而不是里面的小模块出现滚动条。在网上找了些资料,好像用iframe能实现,但是,我用iframe嵌套了frameset,还是没能实现我要的功能。请各位大侠帮帮忙。最好贴上完整的代码,谢谢了,在线等!我的代码如下:
这是aa.html
HTML code

<!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>
</head>

<body>
    <iframe name="luzhouke_iframe" src="luzhouke.html" width="100%" height="5000" scrolling="yes" frameborder="0"></iframe> 
</body>
</html>



这是luzhouke.html
HTML code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
</head>

<frameset cols="1*,950,1*" border="0px" frameborder="0" framespacing="0px">  
 <frame src="empty.html" scrolling="no" noresize>  
 <frameset rows="80,*" cols="*" frameborder="no" border="0" framespacing="0">
  <frame src="top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
  <frameset cols="45%,*" frameborder="no" border="0" framespacing="0">
    <frame src="left.html" name="leftFrame" scrolling="no" noresize="noresize" id="leftFrame" title="leftFrame" />
    <frameset rows="10%,*" cols="*" frameborder="1" border="" framespacing="0">
        <frame src="right_top.html" name="right_topFrame" id="right_topFrame" title="right_topFrame" noresize="noresize" scrolling="no" />        
        <frame src="1.html" name="right_bottomFrame" id="right_bottomFrame" title="right_bottomFrame" scrolling="no" />        
    </frameset>
  </frameset>
</frameset>
 <frame src="empty.html">  
</frameset>
<noframes><body>
</body></noframes>
</html>






------解决方案--------------------
你直接把你的想要的效果发上来。。。
迷糊中。。。
------解决方案--------------------
test the hidden