Hide the close “X” button in Fancybox

前端 未结 6 725
独厮守ぢ
独厮守ぢ 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:01

    For those who are looking for disable it completely in fancybox v3, here it is:

    smallBtn: false,
    toolbar: false
    

提交回复
热议问题