Unable to add script to body
-
I would like to add this code to my webpage body:
<script>
$(document).ready(function () {
$(“#isl-connectbox”).ISLOnlineJoin({
serverUrl:’https://help.proteqtor.nl’,
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’,<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]
The topic ‘Unable to add script to body’ is closed to new replies.