E
E
EVGenyK_ch2019-09-25 01:14:43
JavaScript
EVGenyK_ch, 2019-09-25 01:14:43

Fancybox when loading ajax makes all loaded links and scripts display:none, how to fix it?

I use this design https://codepen.io/fancyapps/pen/yxmrWZ?editors=1100
in loading the page with the following. content:

<style>....</style>
<link rel="stylesheet" href="...">
<link rel="stylesheet" href="...">
<link rel="stylesheet" href="...">
<div>
    <div>
        CONTENT
    </div>
</div>
<script src="..."></script>
<script>...</script>

so after clicking, the content field is loaded, but all links and scripts have the display none property, what am I doing wrong or how to deal with this please tell me

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question