加这个
复制代码 代码如下:
 helpers: {

                            overlay: {
                                closeClick: false
                                                    }

就是加这个,如
复制代码 代码如下:
  jQuery.fancybox({

                             helpers: {
                            overlay: {
                                closeClick: false
                            }
                        },
                            'padding': 0,
                            'margin': 0,
                            'width': 400,
                            'height': 400,
                            'autoScale': false,
                            'scrolling': 'no',
                            'overlayShow': true,
                            'type': 'iframe',
                            'href': $(this).attr('href'),
                            'afterClose': function () {
                                //refresh grid
                                reload("lstAppServer", "/Actions/GetAppServers.ashx?filter=" + escape($("#<%=txtFilter.ClientID %>").val()));
                            }
                        });

本方法在fancybox 2.1.3中通过
fancybox modal的完美解决(右上的X)

标签:
fancybox,modal

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
评论“fancybox modal的完美解决(右上的X)”
暂无“fancybox modal的完美解决(右上的X)”评论...