0

如果我只是“显示:无”fancybox的十字(X)来隐藏它可以吗?

4

2 回答 2

5

在调用 fancybox 时,添加以下选项:

'showCloseButton':false

例如:

$('#your_id').fancybox({'showCloseButton':false});
于 2012-05-10T08:44:22.360 回答
2

试试下面的代码:

'closeBtn':false

隐藏关闭按钮。

于 2012-12-13T11:25:08.457 回答