首页 > 解决方案 > 使用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 在浏览器窗口调整大小时调整大小

标签: jqueryiframesimplemodal

解决方案


推荐阅读