当前位置:网站首页>Iframe nested other website page full screen settings
Iframe nested other website page full screen settings
2022-07-25 15:12:00 【Deep sea blue mountains】
In use today iframe when , Found a... In the nested page 【 Full screen 】 function , So bad , Checked the , Find out iframe also 1 Attributes allowfullscreen Set up , You can set whether it supports full screen , The default is false, Now the iframe Sort out the basic attributes of .
iframe Basic attributes
Usually we use iframe Main setup src, wide 、 high , Whether to scroll , In fact, there are some properties that are not commonly used
<iframe src="https://www.baidu.com" frameborder="0" width="80%" height="500px"></iframe>iframe Common properties :
1.frameborder: Show border or not ,1(yes),0(no)
2.height: The height of the frame as a common element , It is recommended to use css Set up .
3.width: The width of the frame as a common element , It is recommended to use css Set up .
4.name: Name of the frame ,window.frames[name] Time specific properties .
5.scrolling: Is the frame rolling .yes,no,auto.
6.src: The address of the inner frame , Can make page address , It can also be the address of the picture .
Other decorative attributes :
- allowtransparency:true or false, Whether to allow iframe Set transparent , The default is false
- allowfullscreen:true or false, Whether to allow iframe Full screen , The default is false
<iframe id="ifrm" width="80%" height="600px"
frameborder="0" src="target.html" marginwidth="0" marginheight="0" vspace="0"
hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true">
</iframe>Set up allowfullscreen=“true”,iframe You can support full screen
边栏推荐
- C#,C/S升级更新
- 给VS2010自动设置模板,加头注释
- What is the Internet of things
- Spark-SQL UDF函数
- How to realize a correct double check locking
- Detailed explanation of lio-sam operation process and code
- Recommend 10 learning websites that can be called artifact
- vscode 插件篇收集
- 推荐10个堪称神器的学习网站
- When using jetty to run items, an error is reported: form too large or form too many keys
猜你喜欢

Recommend 10 learning websites that can be called artifact

MySql的安装配置超详细教程与简单的建库建表方法

Bridge NF call ip6tables is an unknown key exception handling

Splice a field of the list set into a single string

Spark AQE

pl/sql 创建并执行oralce存储过程,并返回结果集

What is the Internet of things

Introduction to raspberry Pie: initial settings of raspberry pie

Idea远程提交spark任务到yarn集群

VS2010 add WAP mobile form template
随机推荐
oracle_ 12505 error resolution
Boosting之GBDT源码分析
TypeScript学习2——接口
[C topic] Li Kou 206. reverse the linked list
推荐10个堪称神器的学习网站
"How to use" observer mode
Automatically set the template for VS2010 and add header comments
《三子棋》C语言数组应用 --n皇后问题雏形
@Scheduled source code analysis
MySql的安装配置超详细教程与简单的建库建表方法
js URLEncode函数
海缆探测仪TSS350(一)
MeanShift聚类-01原理分析
Scala110-combineByKey
延迟加载源码剖析:
Reprint ---- how to read the code?
在win10系统下使用命令查看WiFi连接密码
继承的实现过程及ES5和ES6实现的区别
Promise对象与宏任务、微任务
When using jetty to run items, an error is reported: form too large or form too many keys