jquery - 使用simpleModal时如何响应iframe和模态
问题描述
如何在模态对话框中响应 iframe?我的代码调用模式:
$.modal('<iframe class="detailiframe" src="' + src + '" height="600" width="1000" style="border:0">', {
closeHTML: "",
containerCss: {
backgroundColor: "#fff",
borderColor: "#fff",
height: 600,
padding: 0,
width: 1000
},
autoResize: false,
autoPosition: true,
overlayClose: true
});
我希望我的 iframe 在浏览器窗口调整大小时调整大小
解决方案
推荐阅读
- java - Hibernate OGM 映射一个 Map
元素集合 - c# - 在 DataGridView 中以编程方式隐藏多列非常慢
- azure - Azure 容器服务 (ACS) - 如何安全地重新启动工作程序节点?
- r - R- ggplot:一个坐标系中的五个图
- android - 为什么我的活动在设备上停止
- java - 在 Java 中,仅使用 PEM 文件创建 SSLContext 的最简单方法是什么?
- git - 从 GitHub Desktop 历史记录中恢复文件
- r - 强制大向量的错误?
- javascript - AngularJS ng-click 仅适用于第二次单击
- python - Spyder Debug - 如何修复代码并继续单步执行