Log in

View Full Version : Adding a Javascript function to the mainpage's index.html file?


Bob Schmidt
03-21-2008, 05:04 PM
So I created a forum for a radio station, and it's hosted at a separate domain then their mainpage (one is at a radio.com address, other is at forum.com). The corporate web guys gave me a javascript code snippet that would "give credit" to the main station domain for traffic on my forum's webpage. Can anyone give me an idea where I would need to add the following code (i.e. what file i need to modify) to make this piece of code work without negatively affecting the messag board.

<script language="javascript1.1" src="http://www.webdomain.com/cc-common/wss/partnerconfig.html"></script>

<script language="javascript1.1">

hbx.acct=""+STATIONACT+";"+MARKETACT+";DM550916AIFN;"+FORMATACT+";"+REGIONACT+"";

hbx.mlc="/Blog;/"+CALLS+"/Blog;/"+CITY+"/"+CALLS+"/Blog;/"+CALLS+"/Blog;/"+CITY+"/"+CALLS+"/Blog";

hbx.hc4="Blog";

var cv = _hbEvent("cv");

</script>

<script language="javascript1.1" src="http://www.webdomain.com/cc-common/wss/hbx.js"></script>

R1lover
03-21-2008, 05:07 PM
You could put it in the header template or the head include and I'm sure it would work.

Bob Schmidt
03-21-2008, 05:18 PM
thank you very much. i added it to the head include. i'll likely see if this works tomorrow.