这是我当前的代码:
$("#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>