ITeye博客

jQueryUI 1.6

harbey · 2009-12-10 12:56 · jQuery · Web前端 · Markdown

1\让dialog打开时没有右上角的关闭按钮:

$('.ControlEdit').dialog({
    title: '用户登陆',
    modal: false,
    autoOpen: true,
    resizable: false,
    closeOnEscape: false,
    position: ,
    width: 290,
    //这句起作用,去掉了css
    open: function() {
        $(this).parents(".ui-dialog:first").find(".ui-dialog-titlebar-close").remove();
    }
});

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。