jQuery fancy box 移除close "X" button

version: fancybox 2.1.4

<div id="reloadPagePopup" class="div-fancy-box">
    <p>
        "Message: XXXXX"
    </p>
    <br />
    <a href="#" onclick="submit(); $.fancybox.close(); return false;" class="btn-ok">OK</a>
</div>

$.fancybox.open({
    href: '#reloadPagePopup',
    modal: true
});

 

posted @ 2019-06-22 11:38  日光之下无新事  阅读(318)  评论(0编辑  收藏  举报