CDATA and custom script js
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.css"/>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function ($) {
$(".reservation_popup").fancybox({
'width': 600,
'height': 630,
'type': 'iframe',
'zoomSpeedIn': 300,
'zoomSpeedOut': 300
});
});
</script>
Comments
Notice!
Please attach a link to this forum discussion.
Thanks
1) You can't insert a <script> tag into Custom JS field, because it's already inside <script> tag.
So if you will insert it again, it won't work correctly.
2) I changed the <link rel> tag of fancybox to the other location.
It's in SEO > Google Analytics field - You can insert a custom CSS files there, you won't issue your theme, because it's only inserting code inside of <head>
Same with <script> location (but it's inside Google | Remarketing)