Solved: 10 Years, 2 Months, 3 Weeks ago [JavaScript] Code, plss ?
#1
Solved: 10 Years, 2 Months, 3 Weeks ago
I am trying to add a javascript code on my forum and i tried by adding the code on 
 My template and >> Headerinclude , but still don't work. Any Idea where to add the javascript code ?
Reply
#2
Solved: 10 Years, 2 Months, 3 Weeks ago
what is the code you wanted to add ? can you post it wrapped in php / code tags here
Reply
#3
Solved: 10 Years, 2 Months, 3 Weeks ago
This user has been denied support. This user has been denied support.
The place is correct but may be you'll having a bad format of that java script code or might be placing at the wrong line.
Reply
#4
Solved: 10 Years, 2 Months, 3 Weeks ago
This is the code :
<div id="spot-im-root"></div><script>!function(t,e,o){function p(){var t=e.createElement("script");t.type="text/javascript",t.async=!0,t.src=("https:"==e.location.protocol?"https":"http")+":"+o,e.body.appendChild(t)}t.spotId="f3d725b9de164ada108681a5e7209745",t.spotName="",t.allowDesktop=!0,t.allowMobile=!1,t.containerId="spot-im-root",p()}(window.SPOTIM={},document,"//www.spot.im/embed/scripts/launcher.js");</script>
Reply
#5
Solved: 10 Years, 2 Months, 3 Weeks ago
^ you can put that code in header template or in footer template (at the bottom of header / footer)
Reply
#6
Solved: 10 Years, 2 Months, 3 Weeks ago
@.m Thank you dude, now it works , thanks again Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)