虚拟主机域名注册-常见问题 → 网络编程问题 → JS | |||||||
layer.open弹出层高度自适应的解决
layui.layer.open({ type: 2, title:'百度页面', area: ['90%', '90%'], shade:0.5, content:'www.baidu.com', success: function(layero, index) { //对加载后的iframe进行宽高度自适应 layer.iframeAuto(index); } });
|
|||||||
>> 相关文章 | |||||||
没有相关文章。 | |||||||
发表评论 | |||||||