Fancybox urls without .jpg opens not in box

前端 未结 1 1504
面向向阳花
面向向阳花 2021-01-13 08:08

I have seen a similar question here : Fancybox chokes on a URL that contains "&" And I have tried all offered solutions but none of them work ! I have included

相关标签:
1条回答
  • 2021-01-13 08:40

    try this code

    <script type="text/javascript">
    $(document).ready(function() {
      $(".fancybox").fancybox({
        type        : 'image',
        openEffect  : 'none',
        closeEffect : 'none'
      });
    });
    </script>
    
    0 讨论(0)
提交回复
热议问题