gpt4 book ai didi

javascript - Internet Explorer 中的 jQuery UI 对话框和 maxHeight

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:28:21 29 4
gpt4 key购买 nike

这是我当前的代码:

$("#DialogScroll").dialog({
bgiframe: true,
autoOpen: false,
maxHeight: 600,
width: 550,
modal: true,
resizable: false,
open: function (type, data) {
$(this).parent().appendTo("form");
},
close: function () { }
});

maxHeight 在 Firefox、Chrome 等设备上运行良好,正如预期的那样,但 IE 7 显然存在问题。有谁知道如何让 UI 对话框在 IE 中使用 maxHeight?

<div id="DialogScroll" class="dialog" style="display:none; ">
<table>
<thead>
<tr>
<th>
State Code
</th>
<th>
State Name
</th>
</tr>
</thead>
<tbody>
<asp:Literal ID="litStates" runat="server" />
</tbody>
</table>
</div>

最佳答案

貌似是长期的open jQueryUI bug - 在此链接中,评论中列出了解决方法和补丁。

关于javascript - Internet Explorer 中的 jQuery UI 对话框和 maxHeight,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4501923/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com