我已经附上了演示问题的示例代码.我正在Firefox 3.5.7中进行检查.问题是父HTML具有滚动条,并且它加载了全屏iframe(高度:100%,宽度:100%),我希望在加载iframe后删除父滚动条.
1)这可能吗?
2)当我们给出高度时:100%;宽度:100%为什么只占据视野?但不是
父母的全部居住区?
This is Main.html
I am a client
You can see the iframe below...
You can see the iframe below...
You can see the iframe below...
You can see the iframe below...
onload = "sendparams();" frameborder="no">
This is app.html:
I am an Application
This is an application
You name
Password
注意:打开Main.html,它将在iframe中加载app.html.您会注意到,在加载iframe后,会出现滚动条,并且iframe的红色背景不会完全填满整个父对象.