首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

鼠标在iframe里滚动不了?该怎么处理

2012-02-24 
鼠标在iframe里滚动不了??在a.html区域里滚轮用不了,怎么回事救命啊各位大侠!!a.html//里有iframeallowTr

鼠标在iframe里滚动不了??
在a.html区域里滚轮用不了,怎么回事救命啊各位大侠!!
a.html     //里有
<iframe     allowTransparency= "true "   src= "iframe.html "   width= "844 "   height= "860 "   scrolling= "auto "   frameborder= "0 ">   </iframe>

iframe.html   //内容
<html   xmlns= "http://www.w3.org/1999/xhtml ">
<head>
</head>
<body   bgColor= "transparent ">
<frameset   rows= "92,*,1 "   cols= "* "   frameborder= "no "   border= "0 "   framespacing= "0 ">
    <frame   noresize= "noresize "   src= "1.html "   name= "topFrame "   scrolling= "No "   id= "topFrame "   title= "topFrame "/>
    <frameset   rows= "* "   cols= "200,* "   framespacing= "0 "   frameborder= "no "   border= "0 ">
      <frame   noresize= "noresize "   src= "2.html "name= "leftFrame "   scrolling= "No "   id= "leftFrame "   title= "leftFrame "   />
<frame   noresize= "noresize "   src= "3.html "   name= "mainFrame "   id= "mainFrame "   title= "mainFrame "   scrolling= "no "   />
          </frameset>
<noframes> 你需要   IE   3.0   或更高版本才能浏览框架! </noframes>
</frameset>
</body>
</html>

[解决办法]
frameset 的原因,我以前也遇到过,frameset 改成用iframe就好了

热点排行