• I would like to add this code to my webpage body:
    <script>
    $(document).ready(function () {
    $(“#isl-connectbox”).ISLOnlineJoin({
    serverUrl:’https://help.proteqtor.nl&#8217;,
    languageCode:’en’
    // autoQuery: false, //disables automatic query when session code is entered
    // showWarning : false //hide warning for joining sessions
    // translationsUrl: ‘js/translations.js’ //path for custom translations
    // minimal: true
    // showBubble : false
    /* bubble: { //set custom colors for helper bubble
    bgColor: “#eff2da”,
    borderColor: “#bad632”,
    textColor: “#444”
    }
    */
    });
    });
    </script>

    But if I add it with page editor it changes the code every time into:

    <p><script><br />
    $(document).ready(function () {<br />
    $(“#isl-connectbox”).ISLOnlineJoin({<br />
    serverUrl:’https://help.proteqtor.nl&#8217;,<br />
    languageCode:’en'<br />
    // autoQuery: false, //disables automatic query when session code is entered<br />
    // showWarning : false //hide warning for joining sessions<br />
    // translationsUrl: ‘js/translations.js’ //path for custom translations<br />
    // minimal: true<br />
    // showBubble : false<br />
    /* bubble: { //set custom colors for helper bubble<br />
    bgColor: “#eff2da”,<br />
    borderColor: “#bad632”,<br />
    textColor: “#444″<br />
    }<br />
    */<br />
    });<br />
    });<br />
    </script></p>

    But I am not sure if this is the problem why the script isn’t working. Is there an other way to add this script?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Unable to add script to body’ is closed to new replies.