Home >Web Front-end >HTML Tutorial >How to use an iframe to nest a frameset so that scroll bars appear in the entire iframe instead of in each frame in the frameset! _html/css_WEB-ITnose

How to use an iframe to nest a frameset so that scroll bars appear in the entire iframe instead of in each frame in the frameset! _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:10:431594browse

My main purpose is to make scroll bars appear in the entire frameset frame, not in the small modules inside. I found some information on the Internet and it seems that it can be achieved using iframe. However, I used iframe to nest the frameset, but still could not achieve the function I wanted. Please help me heroes. It's best to post the complete code. Thank you. I'll wait online! My code is as follows:
This is aa.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></head><body>	<iframe name="luzhouke_iframe" src="luzhouke.html" width="100%" height="5000" scrolling="yes" frameborder="0"></iframe> </body></html>


This is luzhouke.html
<!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>



Reply to discussion (solution)

Something is wrong. .
In aa.html, the height of iframe is not so large. . .
In luzhouke.html, the scrolling of right_bottomFrame is auto

Why is no one here? ? Experts please help me solve it. . Thank you

Just send me the effect you want. . .
Confused. . .

test the hidden

Has this problem been solved? Immediately following, there is also the same problem that requires the use of frameset layout settings

Following, looking forward to the expert! !

Looking forward to solving it,

Hey, it’s actually very simple

How simple is it? I’ve been waiting for a year and I haven’t seen anyone come out to solve it. . . . . .

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn