一样这里没有过的iframe难题,是高手请进!

orrin 2003-05-30 03:11:38
<IFRAME src="http://www.sina.com.cn" frameBorder=0 height=220 marginHeight=0 marginWidth=0 scrolling=no width=520 bordercolor="#000000" ></IFRAME>

上面的代码固定的高宽的iframe,但鼠标拖动页面内容还是可以看到其它地方,如何能不让鼠标拖动页面???
...全文
86 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
kendison 2003-06-11
  • 打赏
  • 举报
回复
简单,上面盖一个层就可以了

<IFRAME src="http://www.sina.com.cn" frameBorder=0 height=220 marginHeight=0 marginWidth=0 scrolling=no width=520 bordercolor="#000000"></IFRAME><div style="position:absolute;left:0;width:100%;height:100%"></div>
huoshelf 2003-06-10
  • 打赏
  • 举报
回复
可以限制鼠标在iframe内的活动范围来解决么?
yonghengdizhen 2003-06-10
  • 打赏
  • 举报
回复
这个问题很简单,不许用鼠标就可以解决了.
用者后果自负
cdhxr 2003-06-10
  • 打赏
  • 举报
回复
up
nik_Amis 2003-06-10
  • 打赏
  • 举报
回复
up
orrin 2003-06-06
  • 打赏
  • 举报
回复
真的没人能回答吗?又一个永远没有答案的贴子!
tccth4091 2003-05-30
  • 打赏
  • 举报
回复
用这个,同样的效果
<iframe src="images/demo.swf" id="Exercise" width=100% height=100% frameborder=0 allowtransparency="true"bordercolor="#000000"> </iframe>
orrin 2003-05-30
  • 打赏
  • 举报
回复
可以当成不存在窗口。
orrin 2003-05-30
  • 打赏
  • 举报
回复
能,你沿内容边缘,拉到鼠标,不管向下还是向右都可以。
emu 2003-05-30
  • 打赏
  • 举报
回复
跨域了,控制不到页面事件。用scriptlet的话广告窗口又是个难对付的东东。
xuzuning 2003-05-30
  • 打赏
  • 举报
回复
能拖动吗?我怎么拖不动呀?

87,988

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧