Close Button on FancyBox Not Working [closed]

依然范特西╮ 提交于 2019-12-31 02:46:29

问题


When I click the close button of my FancyBox nothing happens. It will only close when I click outside the frame. How can I get the close button to work?


回答1:


Just call $.fn.fancybox.close()or $.fancybox.close(true) on your onClick event



来源:https://stackoverflow.com/questions/13071616/close-button-on-fancybox-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!