by

Code 2 ads running along the side for blogspot

image_pdfimage_print
ads running along the side for blogspot

Where you place the ad in your site design can increase or decrease how much you charge.How Much Should You Charge For Advertising On Your Blog?The Code 2 ads running along the side for blogspot is help you grow in come.

Step by step set up Code 2 ads running along the side for blogspot

  1 Login to Blog
  2 In the layout (Layout)
  3 Select the Add gadgets (add widget)
  4Create an HTML widget Javascripts and insert the code below:
 

<div id=”divAdRight” style=”DISPLAY: none; POSITION: absolute; TOP: 0px”>  
<a href=”http://www.jdoqocy.com/click-7565650-10959438” target=”_top”>
<img src=”http://www.tqlkg.com/image-7565650-10959438” width=”120″ height=”600″ alt=”Show your amazing talent online! Start with $1 / month Economy Web Hosting! ” border=”0″/></a>
</div>  
<div id=”divAdLeft” style=”DISPLAY: none; POSITION: absolute; TOP: 0px”>  
<a href=”http://www.jdoqocy.com/click-7565650-10959438” target=”_top”>
<img src=”http://www.tqlkg.com/image-7565650-10959438” width=”120″ height=”600″ alt=”Show your amazing talent online! Start with $1 / month Economy Web Hosting! ” border=”0″/></a>
</div>
  
<script>  
    function FloatTopDiv()  
    {  
        startLX = ((document.body.clientWidth -MainContentW)/2)-LeftBannerW-LeftAdjust , startLY = TopAdjust+80;  
        startRX = ((document.body.clientWidth -MainContentW)/2)+MainContentW+RightAdjust , startRY = TopAdjust+80;  
        var d = document;  
        function ml(id)  
        {  
            var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];  
            el.sP=function(x,y){this.style.left=x + ‘px’;this.style.top=y + ‘px’;};  
            el.x = startRX;  
            el.y = startRY;  
            return el;  
        }  
        function m2(id)  
        {  
            var e2=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];  
            e2.sP=function(x,y){this.style.left=x + ‘px’;this.style.top=y + ‘px’;};  
            e2.x = startLX;  
            e2.y = startLY;  
            return e2;  
        }  
        window.stayTopLeft=function()  
        {  
            if (document.documentElement && document.documentElement.scrollTop)  
                var pY =  document.documentElement.scrollTop;  
            else if (document.body)  
                var pY =  document.body.scrollTop;  
             if (document.body.scrollTop > 30){startLY = 3;startRY = 3;} else  {startLY = TopAdjust;startRY = TopAdjust;};  
            ftlObj.y += (pY+startRY-ftlObj.y)/16;  
            ftlObj.sP(ftlObj.x, ftlObj.y);  
            ftlObj2.y += (pY+startLY-ftlObj2.y)/16;  
            ftlObj2.sP(ftlObj2.x, ftlObj2.y);  
            setTimeout(“stayTopLeft()”, 1);  
        }  
        ftlObj = ml(“divAdRight”);  
        //stayTopLeft();  
        ftlObj2 = m2(“divAdLeft”);  
        stayTopLeft();  
    }  
    function ShowAdDiv()  
    {  
        var objAdDivRight = document.getElementById(“divAdRight”);  
        var objAdDiv_Left = document.getElementById(“divAdLeft”);    
        if (document.body.clientWidth < 1000)  
        {  
            objAdDivRight.style.display = “none”;  
            objAdDiv_Left.style.display = “none”;  
        }  
        else  
        {  
            objAdDivRight.style.display = “block”;  
            objAdDiv_Left.style.display = “block”;  
            FloatTopDiv();  
        }  
    }
</script>  
<script>  
document.write(“<script type=’text/javascript’ language=’javascript’>MainContentW = 1000;LeftBannerW = 125;RightBannerW = 125;LeftAdjust = 5;RightAdjust = 5;TopAdjust = 10;ShowAdDiv();window.onresize=ShowAdDiv;;</script>”);  

</script> 

Remember change the red code to your ads code like adsense or annything code from your brand

image_pdfimage_print

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *