WordPress.org

Forums

Problems with Yardbarker (1 post)

  1. Ianep
    Member
    Posted 3 years ago #

    I'm supposed to be adding specific codes to my site

    One for the header and

    function yardbar() {
    	var NETWORK_BAR_HEIGHT = 30;
    
    	f = document.createElement("iframe");
    	f.src = "http://network.yardbarker.com/widget/network_bar/" + _siteid;
    	f.style.position = "absolute";
    	f.style.top = "0px";
    	f.style.left = "0px";
    	f.style.width = "100%";
    	f.width = "100%";
    	f.height = NETWORK_BAR_HEIGHT;
    	f.scrolling = "no";
    	f.style.border = "0";
    	body = document.getElementsByTagName("body")[0];
    	m = parseInt(body.style.marginTop);
    	if (typeof(m) == "number" && m > 0)
    		body.style.marginTop = (m + NETWORK_BAR_HEIGHT) + "px";
    	else
    		body.style.marginTop = NETWORK_BAR_HEIGHT + "px";
    	document.body.insertBefore(f,document.body.firstChild);
    	// body.appendChild(f);
    }

    one for the footer.

    document.write(""); document.write("<" + "script type='text/javascript'>_qoptions={"); document.write("qacct:'p-a3g2Mplggde4A',"); document.write("labels:'TheExtraPoint.NFL'"); document.write("};"); document.write("<" + "/script>"); document.write("<" + "script type='text/javascript' src='http://edge.quantserve.com/quant.js'><" + "/script>"); document.write("<" + "noscript>"); document.write("<" + "img src='http://pixel.quantserve.com/pixel/p-a3g2Mplggde4A.gif' style='display: none;' border='0' height='1' width='1' alt='Quantcast'/>"); document.write("<" + "/noscript>"); document.write(""); document.write(""); document.write(unescape("%3Cscript src='" + (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js?c1=2&c2=6036378&c3=&c4=&c5=&c6=&c10=' %3E%3C/script%3E")); document.write("<" + "noscript>"); document.write("<" + "img src='http://b.scorecardresearch.com/b?c1=2&c2=6036378&c3=&c4=&c5=&c6=&c10=&cj=1' width='0' height='0' style='display: none;' />"); document.write("<" + "/noscript>"); document.write(""); document.write("<" + "script type=text/javascript>"); document.write("(function () { var d = new Image(1, 1);d.onerror = d.onload = function () { d.onerror = d.onload = null; }; d.src = ['//secure-us.imrworldwide.com/cgi-bin/m?ci=us-603545h&cg=0&cc=1&si=', escape(window.location.href), '&rp=', escape(document.referrer), '&ts=compact&rnd=', (new Date()).getTime()].join(''); })();"); document.write("<" + "/script>"); document.write("<" + "noscript>"); document.write("<" + "div><" + "img src='//secure-us.imrworldwide.com/cgi-bin/m?ci=us-603545h&cg=0&cc=1&ts=noscript' width='1' height='1' alt='' /><" + "/div>"); document.write("<" + "/noscript>"); document.write("<" + "script type=text/javascript>"); document.write("NTPT_PGEXTRA = 'site=10699_the_extra_point&account=yardbarkernetwork';"); document.write("<" + "/script>"); document.write("<" + "script type='text/javascript' src='http://www.yardbarker.com/unica/ntpagetag.js'><" + "/script>"); document.write("<" + "noscript>"); document.write("<" + "img src='http://pt200191.unica.com/ntpagetag.gif?js=0&site=10699_the_extra_point&account=yardbarkernetwork'/>"); document.write("<" + "/noscript>");

    I don't know how to add such codes.

    Can someone help me out?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.