BSCpTpMlGfC7TfWlGfA7TUW7Ti==

A new way to show adsense ads being surrounded the post, want to know how? ....

S P C E.com : Hallo friends - friends all this time I will share for a friend - a friend of all how to display the ads in the middle - the middle of the blog post. But earlier been my post about how to display ads inside posts. Namely in the article: How show ads adsense inside blog posts automatically and in article one is different again but still displaying AdSense ads automatically on page posting articles exactly in the middle of posting blog articles.

A new way to show adsense ads being surrounded the post, want to know how? ....

What if you do not have an Adsense account please register first website or your blog, click on this link to register your web and blog https://www.google.com/adsense/signup. Well what if already has a code from google adsense, you need to do to display adsense ads in the middle - middle post is.

1. Open the first www.blogspot.com
2. Go to edit template
3. Find the code <data: post.body />
4. Replace the code <data: post.body /> with the code below:
<div expr:id='"ads1" + data:post.id'></div><div style="clear:both; margin:10px 0"> Put your ads Adsense Code Already In Parse preemptively Here </div><div expr:id='"ads2" + data:post.id'><data:post.body/></div><script type="text/javascript">var obj0=document.getElementById("ads1<data:post.id/>");var obj1=document.getElementById("ads2<data:post.id/>");var s=obj1.innerHTML;var t=s.substr(0,s.length/2);var r=t.lastIndexOf(" ");if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+1);}</script>
5. After the Save Template you and please see the result in your post page

What if using the code above would not be effective for articles that are too long, because the ads will be too much in the middle of the post, the above code is only effective when it is used for articles that are not too long, because nature split a two-page article .but what if you like it's okay.

A new way to show adsense ads being surrounded the post, want to know how? ....

Now please do display when writing your article, you can choose a code, this second, difference only in code (var t = s.substr (0, s.length / 2);) to be like (var r = s.search (/ \ x3C! - adsense - \ x3e / IgM);).

Is the same as the above do:

1. Open the first www.blogspot.com
2. Sign In Edit template
3. Find the code <data: post.body />
4. Replace the code <data: post.body /> with the code below:
<div expr:id='"ads1" + data:post.id'></div><div style="clear:both; margin:10px 0"> Put your ads Adsense Code Already In Parse preemptively Here </div><div expr:id='"ads2" + data:post.id'><data:post.body/></div><script type="text/javascript">var obj0=document.getElementById("ads1<data:post.id/>");var obj1=document.getElementById("ads2<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>
5. After you change the SAVE TEMPLATE and complete look at the results

It's just that I can share for friends may helpful you and for everyone else, waiting for the next article more interesting than www.saifulcomelektronik.com.

Comments0

Ketentuan berkomentar disini, maupun berkomentar di Comments Plugin facebook:
1. Dilarang menautkan link aktif maupun mempastekan link mati
2. Dilarang berkomentar di luar topik (OOT),
3. Dilarang promosi, dan komentar-komentar yang tidak sopan yang anda tidak sukai juga
4. Komentar Kurang sopan, jadi komentar seperti itu tidak di tampilkan. pastinya akan di hapus
5. Terima Kasih Atas perhatiannya.

Provisions comments here, nor commented on Comments Plugin Facebook
1. It is forbidden to link active link and paste mem dead link
2. Prohibited commented off-topic (OOT),
3. The promotion is prohibited, and the comments were disrespectful that you do not like too
4. Comments Less politely, so comments like that are not in the show. certainly will be deleted
5. Thank you for your attention.

Type above and press Enter to search.