开发者

jQuery UI Dialog maxHeight gets ignored in IE6

I have the following code, in IE6 it ignores the maxHeight.

$('.thickbox').click(function(){
    var href = "foo";
    var diaTitle = "bar";

    $("#dialogTest").load(href, function() {
        var container = $(this);
        container.dialog({
            bgiframe: true,
            opacity: false,
            draggable: false,
            resizable: false,
            height: 500,
            maxHeight: 550,
            width: 400,
            title: diaTitle,
            modal: true
        })
    });
});      开发者_StackOverflow   

Anyone know a fix for this?


Can you post the HTML that is generated by these statements? The CSS property max-height is not supported by Internet Explorer 6, so if Thickbox uses that, it will not work.

Are you sure you need Internet Explorer 6 compatibility?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜