Wednesday, February 16, 2011

Fredericton Vehicle Auction Nb Ca

Blogger/Blogspot: Inserire adsense ed altri banner nella desired position (right, left, middle paragraphs after tot)

Abstract: advertising codes are to adsense or other , must first be modified with a parser. To do this, for free, click on this link

to insert advertising at the beginning of the post:

From the panel to go to Design -> edit html -> Check Expand widget templates and look for:
\u0026lt;div class='post-body entry-content'> (which can also be: \u0026lt;div class='post-body'>)
If you use the articles will be expandable so
\u0026lt;div class = 'post-body entry-content' expr: id = '& quot " post- ; + date: post.id '>
immediately above and insert this code, which is what appears just below the article title
\u0026lt;b: if cond =' data: blog.pageType == & ; quot; " item '>
\u0026lt;p> Advertising Code, as amended by Parse
\u0026lt;/ p>
\u0026lt;b:else />
<p>
Codice Pubblicità modificato con Parse   per la homepage e gli archivi
</p>
</b:if>
Per Inserire la pubblicità alla fine del post:
Si deve cercare la riga di codice

<data:post.body/>
oppure
<p><data:post.body/></p> (se avete inserito gli articoli espandibili)
Immediatamente dopo inserite questo codice

\u0026lt;b:if cond='data:blog.pageType == "item"'>
\u0026lt;p>
Advertising Code, as amended by Parse of leaderboard
\u0026lt;/ p>
\u0026lt;/ b: if>
to insert advertising on the left of the post:
In this case, the Adsense code should be enclosed by the following lines Code

\u0026lt;span style = 'float: left; margin: 8px 8px 8px 0px;'>
modified Parse Adsense Code
\u0026lt;/ span>
to insert advertising to the right of posts:
In this case, the Adsense code should be enclosed by the following lines of code

\u0026lt;span style = 'float: right; margin: 0px 8px 8px 8px ; '>
Adsense Code amended Parse
\u0026lt;/ span>
to insert advertising in the middle of the post:
You should try the line of code

\u0026lt;date: post.body />
or
\u0026lt;p> \u0026lt;data:post.body/> \u0026lt;/ p> (if you have added items expandable) and replace it with


\u0026lt;div expr:id='"aim1" data:post.id'> + \u0026lt;/ div>
\u0026lt;div style="clear:both; margin:10px 0">
\u0026lt;b: if cond = 'data: blog. pageType == " " item '>
Advertising Code, as amended by Parse

\u0026lt;/ b: if>
\u0026lt;/ Div>
\u0026lt;div expr:id='"aim2" + data:post.id'>

\u0026lt;data:post.body/> tag ;
\u0026lt;/ div>
\u0026lt;script type="text/javascript">
was obj0 = document.getElementById ("aim1 \u0026lt; ; data: post.id />");
was obj1=document.getElementById("aim2<data:post.id/>");
    var s=obj1.innerHTML;
    var r=s.search(/\x3C!-- adsense --\x3E/igm);
    if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
    </script>


0 comments:

Post a Comment