隐藏关闭“X” Fancybox中的按钮 [英] Hide the close "X" button in Fancybox
本文介绍了隐藏关闭“X” Fancybox中的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用这个 http://fancybox.net/
有没有办法添加一个属性来不显示
右上方的关闭X按钮?我的意思是我可以使用'callbackOnShow'来隐藏它()
但是速度不够快。我希望它不会渲染出来,而不是
呈现然后隐藏。
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 a hide() but that is not fast enough. I want it NOT rendered out instead of rendered then hide.
推荐答案
如果您查看 http://fancybox.net/api 它引用了 showCloseButton
这个选项。
If you take a look at the documentation at http://fancybox.net/api it cites an option of showCloseButton
that should do the trick.
来自网站:
From the site:
showCloseButton - 显示/隐藏关闭按钮的选项
showCloseButton - Option to show/hide close button
这篇关于隐藏关闭“X” Fancybox中的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文