Home  >  Article  >  Web Front-end  >  请教一个关于框架的问题_html/css_WEB-ITnose

请教一个关于框架的问题_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:16:37886browse

假设有框架形如

现在发现这样的一个问题,当我使用有滚轮的鼠标时,并且鼠标放在A或B区域时,点击鼠标滚轮,会出现滑动提示,而且当我上下滑动时,A,B均会出现空白,有没有什么属性可以屏蔽掉滚轮这个操作的!?


回复讨论(解决方案)

你用jquery吧。。。
$("").resize(function(){
  return false;
});

呃,我用div+css布局没遇到过这情况,最好能提供下代码

代码很正常,就是框架里面定义了noresize属性和scrolling=no属性,其他的就是src,没别的了,但是A和B 区域会出现这种情况,但是C和D就不会出现这种情况。

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