【问题标题】:animating the jquery dailogue from top left corner从左上角动画 jquery 对话框
【发布时间】:2014-05-12 12:25:23
【问题描述】:

您好,我想从左上角切换 jquery 对话。 这是我用于对话的代码。

 function showCityPopUp(id,msgTitle){


    var  dialog=$('#'+id)  
      .dialog({
    autoOpen: false,
  /*  show: "blind",
    hide: "explode",*/
    resizable: false,
    closeOnEscape: true, 
    hide: 'fade',
    modal:true,
    width: 600,
    title: msgTitle,
    position:[404,288],

});

【问题讨论】:

    标签: jquery jquery-ui jquery-ui-dialog


    【解决方案1】:

    我认为你错过了右括号

    function showCityPopUp(id, msgTitle) {
    
    
        var dialog = $('#' + id)
            .dialog({
            autoOpen: false,
            /*  show: "blind",
                hide: "explode",*/
            resizable: false,
            closeOnEscape: true,
            hide: 'fade',
            modal: true,
            width: 600,
            title: msgTitle,
            position: [404, 288],
    
        });
    }
    

    【讨论】:

      猜你喜欢
      • 2011-08-02
      • 1970-01-01
      • 1970-01-01
      • 2012-11-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-11-20
      相关资源
      最近更新 更多