Hide the close “X” button in Fancybox

前端 未结 6 801
独厮守ぢ
独厮守ぢ 2021-02-07 06:20

I am using this http://fancybox.net/

Is there a way to add a property to not show the close \"X\" button on top right? I mean I can use \'callbackOnShow\' to hide it in

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-07 07:14

    In fancybox 3 use 'modal' e.g.

            $.fancybox.open({
                ...
                opts: {
                    modal: true,
                }
            });
    

提交回复
热议问题