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

为什么框架页的滚动条不能感应鼠标滚轮
为什么框架页的滚动条不能感应鼠标滚轮
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>
<frameset rows="140,30,1280,50" frameborder="no" border="0" framespacing="0" style="height:1520px">
  <frame src="top.htm" name="top" scrolling="No" noresize="noresize" id="topFrame" />
  <frame src="xindaohang.htm" name="menu" scrolling="No" noresize="noresize" id="menu" />
  <frame src="center.htm" name="main" id="main" scrolling="No"/>
  <frame src="bottom.htm" name="bottom" scrolling="No" noresize="noresize" id="bottom" />
</frameset><noframes></noframes>
<body>

</body>
</html>


这是全部代码了,请大家帮忙看看这么解决

------解决方案--------------------
鼠标焦点不在框架页
------解决方案--------------------
iframe.document.focus();
------解决方案--------------------
你点一下那框架里面的任何地方焦点就进去啦。