Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Be|theme demo. We don`t offer theme customization.


Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
3. If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .


NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.


IMPORTANT!!! Along with your inquiry, please attach the address of the page which concerns the question. This will cause the time to answer on your question will be much shorter. If you do not want to publish your address publicly in the forum, please send a private message. Thanks!

CDATA and custom script js

hello,

i have this script to insert for my website
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<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>

when i insert it in custom js by betheme option at bottom on every page i got white line with this //]]>
as you can see on this website for ex. https://le-sixiemesens.fr/

the developer of the script told me its because of CDATA tag not recognized by html folders (something like this don't understood everything ...)

and if i insert script directly in the footer.php this is delete after each update of theme

how can i do ?
ty


Comments

Sign In or Register to comment.