开发者

Dialog width does not work in FireFox

I do not understand why the dialog will not work for width in Firefox (latest version) but will in IE (latest version):

dialogDiv.dialog
(
    {
        resi开发者_如何学运维zable: resizable,
        width: width,
        height: height,
        bgiframe: true,
        modal: true,
        autoOpen: false,
        show: 'blind'
    }
)

No, it's not in a table..it's all tableless and I see it working fine in IE for width.


I was able to replicate the problem by puting the width and height in as a string rather and in integer in one of my ui dialogs so I would suggest checking that


Check 2 places:

  • Must use integer value, not string, for width.
  • Clear cached JavaScript file from Firefox and try it again. To clear, go to Options -- Advanced -- Network -- Cached Web Content -- Clear Now. If you do not want to clear your Firefox cache, rename your JavaScript file.
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜