首頁 >web前端 >js教程 >fancybox modal的完美解決(右上的X)_jquery

fancybox modal的完美解決(右上的X)_jquery

WBOY
WBOY原創
2016-05-16 17:48:361297瀏覽

加這個

複製程式碼 程式碼如下:

                            來說lay:      closeClick: false

                           }


就是加這個,如



複製程式碼 程式碼如下:
  jQuery.fancybox({

                             helpers: {                            overlay: {

                                closeClick: false
                            }
                        },
                            'padding': 0,
                            'margin': 0,
                            'width ': 400,
                                     'autoScale': false,
                                      'overlayShow': true,
             iframe',
                           ,              'afterClose': function () {
                                            reload("lstAppServer", " /Actions/GetAppServers.ashx?filter=" escape($("#                                  });


本方法在fancybox 2.1.3中通過


陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn