-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[html] 第85天 iframe的使用场景有哪些? #592
Comments
1:典型系统结构,左侧是功能树,右侧就是一些常见的table或者表单之类的。为了每一个功能,单独分离出来,采用iframe。 |
1.公共的头部或底部,用iframe嵌入 |
不喜欢iframe,iframe布局都是给懒人准备的,而且使用iframe不利于seo |
1.图表嵌入 |
跨域方面扩展下: |
下载文件,使用window.open打开选项卡的话,页面会有闪动,用iframe来下载文件,可避免上面的问题 |
隔离 dom,比如单独打印某个小页面,又不想受父窗口的样式影响,则可以新建个 iframe 来打印。 |
|
第85天 iframe的使用场景有哪些?
The text was updated successfully, but these errors were encountered: