第一个页面:<frameset rows="55,*,30" cols="*" framespacing="0" frameborder="no" border="0" >
<frame src="1.htm" name="topFrame" scrolling="No" noresize="noresize" id="topFrame"/>
<frame src="2.htm" name="mainFrame" id="mainFrame" scrolling="No" noresize="noresize"/>
<frame src="3.htm" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" />
</frameset><noframes></noframes>
第二个页面:<body >
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="132" id="frmTitle" name="fmTitle" align="center" valign="top">
<iframe name="I1" id="I1" height="100%" width="132" src="左侧导航.html" border="0" frameborder="0" onload="reSetIframe()">
浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
<td align="center" valign="top"><iframe name="I2" id="I2" height="100%" width="100%" border="0" frameborder="0" src="右侧内容.html" onload="reSetIframe1()"> 浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
</tr>
</table>
</body>
内容页我再加了个<body style="overflow:scroll;">页面还是无法滚动,求解!另外还有的页面是通过frame打开的,指定了高度后,压根连滚动条都没有求方法,内容太多的自动滚动,但是最好只出现框架页或内容页的一个滚动条
还有个最郁闷的是很多电脑尺寸不一样,如何自动适应高度且满屏就滚动?
网上搜了好多JS都不行!
<frame src="1.htm" name="topFrame" scrolling="No" noresize="noresize" id="topFrame"/>
<frame src="2.htm" name="mainFrame" id="mainFrame" scrolling="No" noresize="noresize"/>
<frame src="3.htm" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" />
</frameset><noframes></noframes>
第二个页面:<body >
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="132" id="frmTitle" name="fmTitle" align="center" valign="top">
<iframe name="I1" id="I1" height="100%" width="132" src="左侧导航.html" border="0" frameborder="0" onload="reSetIframe()">
浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
<td align="center" valign="top"><iframe name="I2" id="I2" height="100%" width="100%" border="0" frameborder="0" src="右侧内容.html" onload="reSetIframe1()"> 浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
</tr>
</table>
</body>
内容页我再加了个<body style="overflow:scroll;">页面还是无法滚动,求解!另外还有的页面是通过frame打开的,指定了高度后,压根连滚动条都没有求方法,内容太多的自动滚动,但是最好只出现框架页或内容页的一个滚动条
还有个最郁闷的是很多电脑尺寸不一样,如何自动适应高度且满屏就滚动?
网上搜了好多JS都不行!
解决方案 »
- 检测textarea输入框中每行的数据是否是手机号
- 求一个不被浏览器拦截的弹窗js代码
- write的问题
- 如何用javascript改变一个网页的样式表。
- 为什么我这层怎么接触不上呢?有人可以给改改吗?onmouseover 和 onmouseout 的问题!
- javascript脚本放在<script src=xxx></script>中有错,直接放到<head>中的就无错???
- 获取当前网址参数,并调用问题!
- 如何实现文本框只能输入数字?
- html里面,能不能包含别的文件!
- 用window.open()能弹出个不可见的窗体吗?我知道把top和left设置到显示器以外可以达到这点,我想知道还有其他方法实现吗!??
- 新手求教,js中怎么定义数组存储的数据类型是自己定义的类型
- 我用jplayer做的播放器不兼容ie
如果height="100%, 高度可能会根据内容自动变化。请将高度给定一个值看看。
如height="680px",如果内容超过680px 就因该出现滚动条并能滚动。也可一层一层调试,看是哪层滚动异常。