开发者

jQuery UI Dialog maxHeight gets ignored in IE6

开发者 https://www.devze.com 2023-03-29 01:46 出处:网络
I have the following code, in IE6 it ignores the maxHeight. $(\'.thickbox\').click(function(){ var href = \"foo\";

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

精彩评论

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