当前位置: 代码迷 >> HTML/CSS >> 鼠标在iframe里滚动不了?该怎么处理
  详细解决方案

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

热度:375   发布时间:2012-02-24 16:30:39.0
鼠标在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就好了
  相关解决方案